2.9
[glibc/nacl-glibc.git] / conform / data / sys / stat.h-data
blobc0f8d45a388193d64d08cbfe7bd31afd218b4df9
1 #ifndef ISO
3 type {struct stat}
5 element {struct stat} dev_t st_dev
6 element {struct stat} ino_t st_ino
7 element {struct stat} mode_t st_mode
8 element {struct stat} nlink_t st_nlink
9 element {struct stat} uid_t st_uid
10 element {struct stat} gid_t st_gid
11 element {struct stat} dev_t st_rdev
12 element {struct stat} off_t st_size
13 element {struct stat} time_t st_atime
14 element {struct stat} time_t st_mtime
15 element {struct stat} time_t st_ctime
16 element {struct stat} blksize_t st_blksize
17 element {struct stat} blkcnt_t st_blocks
19 type blkcnt_t
20 type blksize_t
21 type dev_t
22 type ino_t
23 type mode_t
24 type nlink_t
25 type uid_t
26 type gid_t
27 type off_t
28 type time_t
30 constant S_IFMT
31 constant S_IFBLK
32 constant S_IFCHR
33 constant S_IFIFO
34 constant S_IFREG
35 constant S_IFDIR
36 constant S_IFLNK
38 constant S_IRWXU
39 constant S_IRUSR
40 constant S_IWUSR
41 constant S_IXUSR
42 constant S_IRWXG
43 constant S_IWGRP
44 constant S_IXGRP
45 constant S_IRWXO
46 constant S_IROTH
47 constant S_IWOTH
48 constant S_IXOTH
49 constant S_ISUID
50 constant S_ISGID
51 constant S_ISVTX
53 macro S_ISBLK
54 macro S_ISCHR
55 macro S_ISDIR
56 macro S_ISFIFO
57 macro S_ISREG
58 macro S_ISLNK
60 // How to represent optional tests?
61 optional-macro S_TYPEISMQ
62 optional-macro S_TYPEISSEM
63 optional-macro S_TYPEISSHM
64 optional-macro S_TYPEISTMO
66 function int chmod (const char*, mode_t)
67 function int fchmod (int, mode_t)
68 function int fstat (int, struct stat*)
69 function int lstat (const char*, struct stat*)
70 function int mkdir (const char*, mode_t)
71 function int mkfifo (const char*, mode_t)
72 function int mknod (const char*, mode_t, dev_t)
73 function int stat (const char*, struct stat*)
74 function mode_t umask (mode_t)
76 allow st_*
77 allow S_*
78 allow *_t
79 #endif