1 #if !defined ISO && !defined ISO99 && !defined ISO11
10 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
39 #if !defined XPG3 && !defined XPG4
65 #if !defined POSIX2008
70 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
71 constant POSIX_FADV_NORMAL
72 constant POSIX_FADV_SEQUENTIAL
73 constant POSIX_FADV_RANDOM
74 constant POSIX_FADV_WILLNEED
75 constant POSIX_FADV_DONTNEED
76 constant POSIX_FADV_NOREUSE
81 element {struct flock} short l_type
82 element {struct flock} short l_whence
83 element {struct flock} off_t l_start
84 element {struct flock} off_t l_len
85 element {struct flock} pid_t l_pid
95 function int creat (const char*, mode_t)
96 function int fcntl (int, int, ...)
97 function int open (const char*, int, ...)
98 #if defined XOPEN2K8 || defined POSIX2008
99 function int openat (int, const char*, int, ...)
101 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
102 function int posix_fadvise (int, off_t, off_t, int)
103 function int posix_fallocate (int, off_t, off_t)
106 #if defined XOPEN2K8 || defined POSIX2008
107 // Bug 18228: O_TTY_INIT, O_EXEC, O_SEARCH missing.
108 xfail-constant O_TTY_INIT
110 xfail-constant O_EXEC
111 xfail-constant O_SEARCH
114 constant F_DUPFD_CLOEXEC
117 constant AT_SYMLINK_NOFOLLOW
118 constant AT_SYMLINK_FOLLOW
119 constant AT_REMOVEDIR
121 function int openat(int, const char*, int, ...)
125 allow-header sys/stat.h
126 allow-header unistd.h