mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
(O_DIRECTORY, O_NOFOLLOW): New macros.
This commit is contained in:
parent
d606f528f7
commit
ce9d89b38b
@ -37,6 +37,8 @@
|
|||||||
#define O_NONBLOCK 0x4000
|
#define O_NONBLOCK 0x4000
|
||||||
#define O_NDELAY (0x0004 | O_NONBLOCK)
|
#define O_NDELAY (0x0004 | O_NONBLOCK)
|
||||||
#define O_NOCTTY 0x8000 /* not fcntl */
|
#define O_NOCTTY 0x8000 /* not fcntl */
|
||||||
|
#define O_DIRECTORY 0x10000 /* must be a directory */
|
||||||
|
#define O_NOFOLLOW 0x20000 /* don't follow links */
|
||||||
|
|
||||||
/* XXX missing */
|
/* XXX missing */
|
||||||
#define O_LARGEFILE 0
|
#define O_LARGEFILE 0
|
||||||
|
Loading…
Reference in New Issue
Block a user