sys/unistd.h File Reference
API published in:
API deprecated in:
#include <
sys/cdefs.h
>
Go to the source code of this file.
Defines
#define
_POSIX_ADVISORY_INFO
-1
#define
_POSIX_ASYNCHRONOUS_IO
0
#define
_POSIX_CHOWN_RESTRICTED
1
#define
_POSIX_CLOCK_SELECTION
-1
#define
_POSIX_CPUTIME
-1
#define
_POSIX_FSYNC
200112L
#define
_POSIX_IPV6
0
#define
_POSIX_JOB_CONTROL
1
#define
_POSIX_MAPPED_FILES
200112L
#define
_POSIX_MEMLOCK
-1
#define
_POSIX_MEMLOCK_RANGE
200112L
#define
_POSIX_MEMORY_PROTECTION
200112L
#define
_POSIX_MESSAGE_PASSING
-1
#define
_POSIX_MONOTONIC_CLOCK
-1
#define
_POSIX_NO_TRUNC
1
#define
_POSIX_PRIORITIZED_IO
-1
#define
_POSIX_PRIORITY_SCHEDULING
200112L
#define
_POSIX_RAW_SOCKETS
200112L
#define
_POSIX_REALTIME_SIGNALS
-1
#define
_POSIX_SEMAPHORES
-1
#define
_POSIX_SHARED_MEMORY_OBJECTS
200112L
#define
_POSIX_SPORADIC_SERVER
-1
#define
_POSIX_SYNCHRONIZED_IO
-1
#define
_POSIX_TIMEOUTS
-1
#define
_POSIX_TYPED_MEMORY_OBJECTS
-1
#define
_POSIX_VDISABLE
0xff
#define
_POSIX_VERSION
200112L
#define
F_OK
0
#define
X_OK
0x01
#define
W_OK
0x02
#define
R_OK
0x04
#define
SEEK_SET
0
#define
SEEK_CUR
1
#define
SEEK_END
2
#define
L_SET
SEEK_SET
#define
L_INCR
SEEK_CUR
#define
L_XTND
SEEK_END
#define
_PC_LINK_MAX
1
#define
_PC_MAX_CANON
2
#define
_PC_MAX_INPUT
3
#define
_PC_NAME_MAX
4
#define
_PC_PATH_MAX
5
#define
_PC_PIPE_BUF
6
#define
_PC_CHOWN_RESTRICTED
7
#define
_PC_NO_TRUNC
8
#define
_PC_VDISABLE
9
Define Documentation
#define _PC_CHOWN_RESTRICTED 7
#define _PC_LINK_MAX 1
#define _PC_MAX_CANON 2
#define _PC_MAX_INPUT 3
#define _PC_NAME_MAX 4
#define _PC_NO_TRUNC 8
#define _PC_PATH_MAX 5
#define _PC_PIPE_BUF 6
#define _PC_VDISABLE 9
#define _POSIX_ADVISORY_INFO -1
#define _POSIX_ASYNCHRONOUS_IO 0
#define _POSIX_CHOWN_RESTRICTED 1
#define _POSIX_CLOCK_SELECTION -1
#define _POSIX_CPUTIME -1
#define _POSIX_FSYNC 200112L
#define _POSIX_IPV6 0
#define _POSIX_JOB_CONTROL 1
#define _POSIX_MAPPED_FILES 200112L
#define _POSIX_MEMLOCK -1
#define _POSIX_MEMLOCK_RANGE 200112L
#define _POSIX_MEMORY_PROTECTION 200112L
#define _POSIX_MESSAGE_PASSING -1
#define _POSIX_MONOTONIC_CLOCK -1
#define _POSIX_NO_TRUNC 1
#define _POSIX_PRIORITIZED_IO -1
#define _POSIX_PRIORITY_SCHEDULING 200112L
#define _POSIX_RAW_SOCKETS 200112L
#define _POSIX_REALTIME_SIGNALS -1
#define _POSIX_SEMAPHORES -1
#define _POSIX_SHARED_MEMORY_OBJECTS 200112L
#define _POSIX_SPORADIC_SERVER -1
#define _POSIX_SYNCHRONIZED_IO -1
#define _POSIX_TIMEOUTS -1
#define _POSIX_TYPED_MEMORY_OBJECTS -1
#define _POSIX_VDISABLE 0xff
#define _POSIX_VERSION 200112L
#define F_OK 0
#define L_INCR SEEK_CUR
#define L_SET SEEK_SET
#define L_XTND SEEK_END
#define R_OK 0x04
#define SEEK_CUR 1
#define SEEK_END 2
#define SEEK_SET 0
#define W_OK 0x02
#define X_OK 0x01