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