4 /* open/fcntl - O_SYNC is only implemented on blocks devices and on files
5 located on an ext2 file system */
6 #define O_CREAT 01000 /* not fcntl */
7 #define O_TRUNC 02000 /* not fcntl */
8 #define O_EXCL 04000 /* not fcntl */
9 #define O_NOCTTY 010000 /* not fcntl */
11 #define O_NONBLOCK 00004
12 #define O_APPEND 00010
14 #define O_DIRECTORY 0100000 /* must be a directory */
15 #define O_NOFOLLOW 0200000 /* don't follow links */
16 #define O_LARGEFILE 0400000 /* will be set by the kernel on every open */
17 #define O_DIRECT 02000000 /* direct disk access - should check with OSF/1 */
18 #define O_NOATIME 04000000
24 #define F_SETOWN 5 /* for sockets. */
25 #define F_GETOWN 6 /* for sockets. */
26 #define F_SETSIG 10 /* for sockets. */
27 #define F_GETSIG 11 /* for sockets. */
29 /* for posix fcntl() and lockf() */
34 /* for old implementation of bsd flock () */
35 #define F_EXLCK 16 /* or 3 */
36 #define F_SHLCK 32 /* or 4 */
38 #define F_INPROGRESS 64
40 #include <asm-generic/fcntl.h>