2.9
[glibc/nacl-glibc.git] / conform / data / fcntl.h-data
blobc8caf0360f5ac5a7040997079ef698c63ea7560c
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 constant S_ISVTX
65 #ifdef XOPEN2K
66 constant POSIX_FADV_NORMAL
67 constant POSIX_FADV_SEQUENTIAL
68 constant POSIX_FADV_RANDOM
69 constant POSIX_FADV_WILLNEED
70 constant POSIX_FADV_DONTNEED
71 constant POSIX_FADV_NOREUSE
72 #endif
74 type {struct flock}
76 element {struct flock} short l_type
77 element {struct flock} short l_whence
78 element {struct flock} off_t l_start
79 element {struct flock} off_t l_len
80 element {struct flock} pid_t l_pid
82 type mode_t
83 type off_t
84 type pid_t
86 function int creat (const char*, mode_t)
87 function int fcntl (int, int, ...)
88 function int open (const char*, int, ...)
89 #ifdef XOPEN2K
90 function int posix_fadvise (int, off_t, off_t, int)
91 function int posix_fallocate (int, off_t, off_t)
92 #endif
94 allow-header sys/stat.h
95 allow-header unistd.h
97 allow l_*
98 allow F_*
99 allow O_*
100 allow S_*
101 allow *_t
102 #endif