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 0100 /* not fcntl */
7 #define O_EXCL 0200 /* not fcntl */
8 #define O_NOCTTY 0400 /* not fcntl */
9 #define O_TRUNC 01000 /* not fcntl */
10 #define O_APPEND 02000
11 #define O_NONBLOCK 04000
12 #define O_NDELAY O_NONBLOCK
14 #define FASYNC 020000 /* fcntl, for BSD compatibility */
15 #define O_DIRECTORY 040000 /* must be a directory */
16 #define O_NOFOLLOW 0100000 /* don't follow links */
17 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
18 #define O_LARGEFILE 0400000
19 #define O_NOATIME 01000000
25 #define F_SETOWN 8 /* for sockets. */
26 #define F_GETOWN 9 /* for sockets. */
27 #define F_SETSIG 10 /* for sockets. */
28 #define F_GETSIG 11 /* for sockets. */
30 #define F_GETLK64 12 /* using 'struct flock64' */
34 /* for posix fcntl() and lockf() */
39 /* for old implementation of bsd flock () */
40 #define F_EXLCK 4 /* or 3 */
41 #define F_SHLCK 8 /* or 4 */
44 #define F_INPROGRESS 16
62 #include <asm-generic/fcntl.h>
64 #endif /* _H8300_FCNTL_H */