fcntl.h File Reference

Go to the source code of this file.

Data Structures

struct  flock

Defines

#define O_ACCMODE   0003
 open/fcntl - O_SYNC isn't implemented yet
#define O_RDONLY   00
#define O_WRONLY   01
#define O_RDWR   02
#define O_CREAT   0100
 not fcntl
#define O_EXCL   0200
 not fcntl
#define O_NOCTTY   0400
 not fcntl
#define O_TRUNC   01000
 not fcntl
#define O_APPEND   02000
#define O_NONBLOCK   04000
#define O_NDELAY   O_NONBLOCK
#define O_SYNC   010000
#define F_DUPFD   0
 dup
#define F_GETFD   1
 get f_flags
#define F_SETFD   2
 set f_flags
#define F_GETFL   3
 more flags (cloexec)
#define F_SETFL   4
#define F_GETLK   5
#define F_SETLK   6
#define F_SETLKW   7
#define F_SETOWN   8
 for sockets.
#define F_GETOWN   9
 for sockets.
#define FD_CLOEXEC   1
 for F_[GET|SET]FL actually anything with low bit set goes
#define F_RDLCK   0
#define F_WRLCK   1
#define F_UNLCK   2
#define F_EXLCK   4
 For bsd flock () or 3.
#define F_SHLCK   8
 or 4


Define Documentation

#define F_DUPFD   0

dup

Definition at line 18 of file fcntl.h.

#define F_EXLCK   4

For bsd flock () or 3.

Definition at line 38 of file fcntl.h.

#define F_GETFD   1

get f_flags

Definition at line 19 of file fcntl.h.

#define F_GETFL   3

more flags (cloexec)

Definition at line 21 of file fcntl.h.

#define F_GETLK   5

Definition at line 23 of file fcntl.h.

#define F_GETOWN   9

for sockets.

Definition at line 28 of file fcntl.h.

#define F_RDLCK   0

Definition at line 33 of file fcntl.h.

#define F_SETFD   2

set f_flags

Definition at line 20 of file fcntl.h.

#define F_SETFL   4

Definition at line 22 of file fcntl.h.

#define F_SETLK   6

Definition at line 24 of file fcntl.h.

#define F_SETLKW   7

Definition at line 25 of file fcntl.h.

#define F_SETOWN   8

for sockets.

Definition at line 27 of file fcntl.h.

#define F_SHLCK   8

or 4

Definition at line 39 of file fcntl.h.

#define F_UNLCK   2

Definition at line 35 of file fcntl.h.

#define F_WRLCK   1

Definition at line 34 of file fcntl.h.

#define FD_CLOEXEC   1

for F_[GET|SET]FL actually anything with low bit set goes

Definition at line 31 of file fcntl.h.

#define O_ACCMODE   0003

open/fcntl - O_SYNC isn't implemented yet

Definition at line 5 of file fcntl.h.

#define O_APPEND   02000

Definition at line 13 of file fcntl.h.

#define O_CREAT   0100

not fcntl

Definition at line 9 of file fcntl.h.

#define O_EXCL   0200

not fcntl

Definition at line 10 of file fcntl.h.

#define O_NDELAY   O_NONBLOCK

Definition at line 15 of file fcntl.h.

#define O_NOCTTY   0400

not fcntl

Definition at line 11 of file fcntl.h.

#define O_NONBLOCK   04000

Definition at line 14 of file fcntl.h.

#define O_RDONLY   00

Definition at line 6 of file fcntl.h.

#define O_RDWR   02

Definition at line 8 of file fcntl.h.

#define O_SYNC   010000

Definition at line 16 of file fcntl.h.

#define O_TRUNC   01000

not fcntl

Definition at line 12 of file fcntl.h.

#define O_WRONLY   01

Definition at line 7 of file fcntl.h.


Generated on Mon May 1 21:47:00 2006 for KernelAPI by  doxygen 1.4.6-5