579a5292fd5264c7168a19ec20fab09b5b06eb0b
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
11 /* open/fcntl - O_SYNC is only implemented on blocks devices and on files
12 located on an ext2 file system */
13 #define O_CREAT 0100 /* not fcntl */
14 #define O_EXCL 0200 /* not fcntl */
15 #define O_NOCTTY 0400 /* not fcntl */
16 #define O_TRUNC 01000 /* not fcntl */
17 #define O_APPEND 02000
18 #define O_NONBLOCK 04000
19 #define O_NDELAY O_NONBLOCK
21 #define FASYNC 020000 /* fcntl, for BSD compatibility */
22 #define O_DIRECTORY 040000 /* must be a directory */
23 #define O_NOFOLLOW 0100000 /* don't follow links */
24 #define O_LARGEFILE 0200000
25 #define O_DIRECT 0400000 /* direct disk access hint */
26 #define O_NOATIME 01000000
32 #define F_SETOWN 8 /* for sockets. */
33 #define F_GETOWN 9 /* for sockets. */
34 #define F_SETSIG 10 /* for sockets. */
35 #define F_GETSIG 11 /* for sockets. */
37 /* for posix fcntl() and lockf() */
42 /* for old implementation of bsd flock () */
43 #define F_EXLCK 4 /* or 3 */
44 #define F_SHLCK 8 /* or 4 */
47 #define F_INPROGRESS 16
52 #define F_BROKEN 4 /* broken flock() emulation */
53 #endif /* __KERNEL__ */
63 #include <asm-generic/fcntl.h>
65 #endif /* _PPC64_FCNTL_H */
This page took 0.037724 seconds and 4 git commands to generate.