Fix whitespace issue.
[glibc.git] / conform / data / fcntl.h-data
blob7769a446dd774105eaae9ac0d1775ef620868176
1 #if !defined ISO && !defined POSIX
2 constant F_DUPFD
3 constant F_GETFD
4 constant F_SETFD
5 constant F_GETFL
6 constant F_SETFL
7 constant F_GETLK
8 constant F_SETLK
9 constant F_SETLKW
10 constant F_GETOWN
11 constant F_SETOWN
13 constant FD_CLOEXEC
15 constant F_RDLCK
16 constant F_UNLCK
17 constant F_WRLCK
19 constant SEEK_SET
20 constant SEEK_CUR
21 constant SEEK_END
23 constant O_CREAT
24 constant O_EXCL
25 constant O_NOCTTY
26 constant O_TRUNC
28 constant O_APPEND
29 constant O_DSYNC
30 constant O_NONBLOCK
31 constant O_RSYNC
32 constant O_SYNC
34 constant O_ACCMODE
36 constant O_RDONLY
37 constant O_RDWR
38 constant O_WRONLY
40 constant S_IFMT
41 constant S_IFBLK
42 constant S_IFCHR
43 constant S_IFIFO
44 constant S_IFREG
45 constant S_IFDIR
46 constant S_IFLNK
47 constant S_IFSOCK
49 constant S_IRWXU
50 constant S_IRUSR
51 constant S_IWUSR
52 constant S_IXUSR
53 constant S_IRWXG
54 constant S_IRGRP
55 constant S_IWGRP
56 constant S_IXGRP
57 constant S_IRWXO
58 constant S_IROTH
59 constant S_IWOTH
60 constant S_IXOTH
61 constant S_ISUID
62 constant S_ISGID
63 #if !defined POSIX && !defined POSIX2008
64 constant S_ISVTX
65 #endif
67 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
68 constant POSIX_FADV_NORMAL
69 constant POSIX_FADV_SEQUENTIAL
70 constant POSIX_FADV_RANDOM
71 constant POSIX_FADV_WILLNEED
72 constant POSIX_FADV_DONTNEED
73 constant POSIX_FADV_NOREUSE
74 #endif
76 type {struct flock}
78 element {struct flock} short l_type
79 element {struct flock} short l_whence
80 element {struct flock} off_t l_start
81 element {struct flock} off_t l_len
82 element {struct flock} pid_t l_pid
84 type mode_t
85 type off_t
86 type pid_t
88 function int creat (const char*, mode_t)
89 function int fcntl (int, int, ...)
90 function int open (const char*, int, ...)
91 #if defined XOPEN2K8 || defined POSIX2008
92 function int openat (int, const char*, int, ...)
93 #endif
94 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
95 function int posix_fadvise (int, off_t, off_t, int)
96 function int posix_fallocate (int, off_t, off_t)
97 #endif
99 #if defined XOPEN2K8 || defined POSIX2008
100 constant O_TTY_INIT
101 constant O_CLOEXEC
102 constant O_EXEC
103 constant O_SEARCH
104 constant O_DIRECTORY
105 constant O_NOFOLLOW
106 constant FD_CLOEXEC
107 constant F_DUPFD_CLOEXEC
108 constant AT_FDCWD
109 constant AT_EACCESS
110 constant AT_SYMLINK_NOFOLLOW
111 constant AT_SYMLINK_FOLLOW
112 constant AT_REMOVEDIR
114 function int openat(int, const char*, int, ...)
115 #endif
117 allow-header sys/stat.h
118 allow-header unistd.h
120 allow l_*
121 allow F_*
122 allow O_*
123 allow S_*
124 allow *_t
126 allow timespec
127 allow tv_nsec
128 allow tv_sec
129 #endif