1 --- dietlibc-0.32/include/fcntl.h~ 2008-02-19 01:28:13.000000000 +0100
2 +++ dietlibc-0.32/include/fcntl.h 2010-09-24 19:03:54.093375051 +0200
7 +#define F_SETLEASE 1024 /* Set a lease. */
8 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
9 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
11 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
13 /* for posix fcntl() and lockf() */
15 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
16 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
18 +/* Types of directory notifications that may be requested with F_NOTIFY. */
19 +#define DN_ACCESS 0x00000001 /* File accessed. */
20 +#define DN_MODIFY 0x00000002 /* File modified. */
21 +#define DN_CREATE 0x00000004 /* File created. */
22 +#define DN_DELETE 0x00000008 /* File removed. */
23 +#define DN_RENAME 0x00000010 /* File renamed. */
24 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
25 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
31 #define F_SETSIG 10 /* for sockets. */
32 #define F_GETSIG 11 /* for sockets. */
34 +#define F_SETLEASE 1024 /* Set a lease. */
35 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
36 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
38 /* for F_[GET|SET]FL */
39 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
42 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
43 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
45 +/* Types of directory notifications that may be requested with F_NOTIFY. */
46 +#define DN_ACCESS 0x00000001 /* File accessed. */
47 +#define DN_MODIFY 0x00000002 /* File modified. */
48 +#define DN_CREATE 0x00000004 /* File created. */
49 +#define DN_DELETE 0x00000008 /* File removed. */
50 +#define DN_RENAME 0x00000010 /* File renamed. */
51 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
52 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
61 +#define F_SETLEASE 1024 /* Set a lease. */
62 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
63 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
65 /* for F_[GET|SET]FL */
66 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
69 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
70 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
72 +/* Types of directory notifications that may be requested with F_NOTIFY. */
73 +#define DN_ACCESS 0x00000001 /* File accessed. */
74 +#define DN_MODIFY 0x00000002 /* File modified. */
75 +#define DN_CREATE 0x00000004 /* File created. */
76 +#define DN_DELETE 0x00000008 /* File removed. */
77 +#define DN_RENAME 0x00000010 /* File renamed. */
78 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
79 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
88 +#define F_SETLEASE 1024 /* Set a lease. */
89 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
90 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
92 /* for F_[GET|SET]FL */
93 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
96 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
97 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
99 +/* Types of directory notifications that may be requested with F_NOTIFY. */
100 +#define DN_ACCESS 0x00000001 /* File accessed. */
101 +#define DN_MODIFY 0x00000002 /* File modified. */
102 +#define DN_CREATE 0x00000004 /* File created. */
103 +#define DN_DELETE 0x00000008 /* File removed. */
104 +#define DN_RENAME 0x00000010 /* File renamed. */
105 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
106 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
113 #define F_SETLKW64 14
115 +#define F_SETLEASE 1024 /* Set a lease. */
116 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
117 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
119 /* for F_[GET|SET]FL */
120 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
123 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
124 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
126 +/* Types of directory notifications that may be requested with F_NOTIFY. */
127 +#define DN_ACCESS 0x00000001 /* File accessed. */
128 +#define DN_MODIFY 0x00000002 /* File modified. */
129 +#define DN_CREATE 0x00000004 /* File created. */
130 +#define DN_DELETE 0x00000008 /* File removed. */
131 +#define DN_RENAME 0x00000010 /* File renamed. */
132 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
133 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
140 #define F_SETLKW64 14
142 +#define F_SETLEASE 1024 /* Set a lease. */
143 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
144 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
146 /* for F_[GET|SET]FL */
147 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
150 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
151 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
153 +/* Types of directory notifications that may be requested with F_NOTIFY. */
154 +#define DN_ACCESS 0x00000001 /* File accessed. */
155 +#define DN_MODIFY 0x00000002 /* File modified. */
156 +#define DN_CREATE 0x00000004 /* File created. */
157 +#define DN_DELETE 0x00000008 /* File removed. */
158 +#define DN_RENAME 0x00000010 /* File renamed. */
159 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
160 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */
166 #define F_SETSIG 13 /* for sockets. */
167 #define F_GETSIG 14 /* for sockets. */
169 +#define F_SETLEASE 1024 /* Set a lease. */
170 +#define F_GETLEASE 1025 /* Enquire what lease is active. */
171 +#define F_NOTIFY 1026 /* Request notfications on a directory. */
173 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */
175 #define F_RDLCK 1 /* Read lock. */
177 #define LOCK_WRITE 128 /* ... Which allows concurrent write operations */
178 #define LOCK_RW 192 /* ... Which allows concurrent read & write ops */
180 +/* Types of directory notifications that may be requested with F_NOTIFY. */
181 +#define DN_ACCESS 0x00000001 /* File accessed. */
182 +#define DN_MODIFY 0x00000002 /* File modified. */
183 +#define DN_CREATE 0x00000004 /* File created. */
184 +#define DN_DELETE 0x00000008 /* File removed. */
185 +#define DN_RENAME 0x00000010 /* File renamed. */
186 +#define DN_ATTRIB 0x00000020 /* File changed attibutes. */
187 +#define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */