4 /* open/fcntl - O_SYNC is only implemented on blocks devices and on files
5 located on an ext2 file system */
6 #define O_DIRECTORY 040000 /* must be a directory */
7 #define O_NOFOLLOW 0100000 /* don't follow links */
8 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
9 #define O_LARGEFILE 0400000
15 #define F_SETOWN 8 /* for sockets. */
16 #define F_GETOWN 9 /* for sockets. */
17 #define F_SETSIG 10 /* for sockets. */
18 #define F_GETSIG 11 /* for sockets. */
20 #define F_GETLK64 12 /* using 'struct flock64' */
24 /* for posix fcntl() and lockf() */
29 /* for old implementation of bsd flock () */
30 #define F_EXLCK 4 /* or 3 */
31 #define F_SHLCK 8 /* or 4 */
34 #define F_INPROGRESS 16
52 #include <asm-generic/fcntl.h>