1 #if !defined ISO && !defined ISO99 && !defined ISO11
10 #if !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
39 #if !defined XPG4 && !defined XPG42
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 // Bug 23081: l_type and l_whence members of flock structure have type int instead of short
82 xfail[i386-gnu]-element {struct flock} short l_type
83 xfail[i386-gnu]-element {struct flock} short l_whence
84 element {struct flock} off_t l_start
85 element {struct flock} off_t l_len
86 element {struct flock} pid_t l_pid
96 function int creat (const char*, mode_t)
97 function int fcntl (int, int, ...)
98 function int open (const char*, int, ...)
99 #if defined XOPEN2K8 || defined POSIX2008
100 function int openat (int, const char*, int, ...)
102 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
103 function int posix_fadvise (int, off_t, off_t, int)
104 function int posix_fallocate (int, off_t, off_t)
107 #if defined XOPEN2K8 || defined POSIX2008
108 // Bug 18228: O_TTY_INIT, O_EXEC, O_SEARCH missing.
109 xfail-constant O_TTY_INIT
111 xfail-constant O_EXEC
112 xfail-constant O_SEARCH
115 constant F_DUPFD_CLOEXEC
118 constant AT_SYMLINK_NOFOLLOW
119 constant AT_SYMLINK_FOLLOW
120 constant AT_REMOVEDIR
122 function int openat (int, const char*, int, ...)
126 allow-header sys/stat.h
127 allow-header unistd.h