32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
[glibc.git] / conform / data / sys / stat.h-data
blobdf39fd3d810843b50b06c9e69ae6b4305c7f4cb1
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 #if !defined POSIX && !defined POSIX2008
12 element {struct stat} dev_t st_rdev
13 #endif
14 element {struct stat} off_t st_size
15 element {struct stat} time_t st_atime
16 element {struct stat} time_t st_mtime
17 element {struct stat} time_t st_ctime
18 #if !defined POSIX && !defined POSIX2008
19 element {struct stat} blksize_t st_blksize
20 element {struct stat} blkcnt_t st_blocks
21 #endif
23 #if !defined POSIX && !defined POSIX2008
24 type blkcnt_t
25 type blksize_t
26 #endif
27 type dev_t
28 type ino_t
29 type mode_t
30 type nlink_t
31 type uid_t
32 type gid_t
33 type off_t
34 type time_t
35 # if defined XOPEN2K8 || defined POSIX2008
36 type {struct timespec}
37 element {struct timespec} time_t tv_sec
38 element {struct timespec} long tv_nsec
39 # endif
41 #if !defined POSIX && !defined POSIX2008
42 constant S_IFMT
43 constant S_IFBLK
44 constant S_IFCHR
45 constant S_IFIFO
46 constant S_IFREG
47 constant S_IFDIR
48 constant S_IFLNK
49 constant S_IFSOCK
50 #endif
52 constant S_IRWXU
53 constant S_IRUSR
54 constant S_IWUSR
55 constant S_IXUSR
56 constant S_IRWXG
57 constant S_IWGRP
58 constant S_IXGRP
59 constant S_IRWXO
60 constant S_IROTH
61 constant S_IWOTH
62 constant S_IXOTH
63 constant S_ISUID
64 constant S_ISGID
65 #if !defined POSIX && !defined POSIX2008
66 constant S_ISVTX
67 #endif
69 #if !defined POSIX && !defined POSIX2008
70 macro S_IFMT
71 macro S_ISBLK
72 macro S_ISCHR
73 macro S_ISDIR
74 macro S_ISFIFO
75 macro S_ISREG
76 macro S_ISLNK
77 macro S_IFSOCK
78 #endif
80 // How to represent optional tests?
81 optional-macro S_TYPEISMQ
82 optional-macro S_TYPEISSEM
83 optional-macro S_TYPEISSHM
84 optional-macro S_TYPEISTMO
86 # if defined XOPEN2K8 || defined POSIX2008
87 constant UTIME_NOW
88 constant UTIME_OMIT
89 # endif
91 function int chmod (const char*, mode_t)
92 function int fchmod (int, mode_t)
93 # if defined XOPEN2K8 || defined POSIX2008
94 function int fchmodat (int, const char*, mode_t, int)
95 # endif
96 function int fstat (int, struct stat*)
97 # if defined XOPEN2K8 || defined POSIX2008
98 function int fstatat (int, const char*, struct stat*, int)
99 function int futimens (int, const struct timespec[2])
100 # endif
101 function int lstat (const char*, struct stat*)
102 function int mkdir (const char*, mode_t)
103 # if defined XOPEN2K8 || defined POSIX2008
104 function int mkdirat (int, const char*, mode_t)
105 # endif
106 function int mkfifo (const char*, mode_t)
107 # if defined XOPEN2K8 || defined POSIX2008
108 function int mkfifoat (int, const char*, mode_t)
109 # endif
110 # if !defined POSIX && !defined POSIX2008
111 function int mknod (const char*, mode_t, dev_t)
112 function int mknodat (int, const char*, mode_t, dev_t)
113 # endif
114 function int stat (const char*, struct stat*)
115 function mode_t umask (mode_t)
116 # if defined XOPEN2K8 || defined POSIX2008
117 function int utimensat (int, const char*, const struct timespec[2], int)
118 # endif
120 allow st_*
121 allow S_*
122 allow *_t
123 #endif