Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
fcntl.h File Reference
#include <asm-generic/fcntl.h>

Go to the source code of this file.

Macros

#define O_APPEND   0x0008
 
#define O_DSYNC   0x0010 /* used to be O_SYNC, see below */
 
#define O_NONBLOCK   0x0080
 
#define O_CREAT   0x0100 /* not fcntl */
 
#define O_TRUNC   0x0200 /* not fcntl */
 
#define O_EXCL   0x0400 /* not fcntl */
 
#define O_NOCTTY   0x0800 /* not fcntl */
 
#define FASYNC   0x1000 /* fcntl, for BSD compatibility */
 
#define O_LARGEFILE   0x2000 /* allow large file opens */
 
#define __O_SYNC   0x4000
 
#define O_SYNC   (__O_SYNC|O_DSYNC)
 
#define O_DIRECT   0x8000 /* direct disk access hint */
 
#define F_GETLK   14
 
#define F_SETLK   6
 
#define F_SETLKW   7
 
#define F_SETOWN   24 /* for sockets. */
 
#define F_GETOWN   23 /* for sockets. */
 
#define F_GETLK64   33 /* using 'struct flock64' */
 
#define F_SETLK64   34
 
#define F_SETLKW64   35
 

Macro Definition Documentation

#define __O_SYNC   0x4000

Definition at line 34 of file fcntl.h.

#define F_GETLK   14

Definition at line 38 of file fcntl.h.

#define F_GETLK64   33 /* using 'struct flock64' */

Definition at line 46 of file fcntl.h.

#define F_GETOWN   23 /* for sockets. */

Definition at line 43 of file fcntl.h.

#define F_SETLK   6

Definition at line 39 of file fcntl.h.

#define F_SETLK64   34

Definition at line 47 of file fcntl.h.

#define F_SETLKW   7

Definition at line 40 of file fcntl.h.

#define F_SETLKW64   35

Definition at line 48 of file fcntl.h.

#define F_SETOWN   24 /* for sockets. */

Definition at line 42 of file fcntl.h.

#define FASYNC   0x1000 /* fcntl, for BSD compatibility */

Definition at line 19 of file fcntl.h.

#define O_APPEND   0x0008

Definition at line 12 of file fcntl.h.

#define O_CREAT   0x0100 /* not fcntl */

Definition at line 15 of file fcntl.h.

#define O_DIRECT   0x8000 /* direct disk access hint */

Definition at line 36 of file fcntl.h.

#define O_DSYNC   0x0010 /* used to be O_SYNC, see below */

Definition at line 13 of file fcntl.h.

#define O_EXCL   0x0400 /* not fcntl */

Definition at line 17 of file fcntl.h.

#define O_LARGEFILE   0x2000 /* allow large file opens */

Definition at line 20 of file fcntl.h.

#define O_NOCTTY   0x0800 /* not fcntl */

Definition at line 18 of file fcntl.h.

#define O_NONBLOCK   0x0080

Definition at line 14 of file fcntl.h.

#define O_SYNC   (__O_SYNC|O_DSYNC)

Definition at line 35 of file fcntl.h.

#define O_TRUNC   0x0200 /* not fcntl */

Definition at line 16 of file fcntl.h.