• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #define O_CREAT        0100
2 #define O_EXCL         0200
3 #define O_NOCTTY       0400
4 #define O_TRUNC       01000
5 #define O_APPEND      02000
6 #define O_NONBLOCK    04000
7 #define O_DSYNC      010000
8 #define O_SYNC     04010000
9 #define O_RSYNC    04010000
10 #define O_DIRECTORY 0200000
11 #define O_NOFOLLOW  0400000
12 #define O_CLOEXEC  02000000
13 
14 #define O_ASYNC      020000
15 #define O_DIRECT     040000
16 #define O_LARGEFILE 0100000
17 #define O_NOATIME  01000000
18 #define O_PATH    010000000
19 #define O_TMPFILE 020200000
20 #define O_NDELAY O_NONBLOCK
21 
22 #define F_DUPFD  0
23 #define F_GETFD  1
24 #define F_SETFD  2
25 #define F_GETFL  3
26 #define F_SETFL  4
27 
28 #define F_SETOWN 8
29 #define F_GETOWN 9
30 #define F_SETSIG 10
31 #define F_GETSIG 11
32 
33 #if __LONG_MAX == 0x7fffffffL
34 #define F_GETLK 12
35 #define F_SETLK 13
36 #define F_SETLKW 14
37 #else
38 #define F_GETLK 5
39 #define F_SETLK 6
40 #define F_SETLKW 7
41 #endif
42 
43 #define F_SETOWN_EX 15
44 #define F_GETOWN_EX 16
45 
46 #define F_GETOWNER_UIDS 17
47