3 |
- |
1 |
|
|
|
2 |
/* /usr/include/sys/stat.h */
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
typedef void stat;
|
|
|
6 |
typedef void stat64;
|
|
|
7 |
|
|
|
8 |
int stat(char *file, stat *buf);
|
|
|
9 |
int fstat(int fd, stat *buf);
|
|
|
10 |
int stat64(char *file, stat64 *buf);
|
|
|
11 |
int fstat64(int fd, stat64 *buf);
|
|
|
12 |
int fstatat(int fd, char *file, stat *buf, int flag);
|
|
|
13 |
int fstatat64(int fd, char *file, stat64 *buf, int flag);
|
|
|
14 |
int lstat(char *file, stat *buf);
|
|
|
15 |
int lstat64(char *file, stat64 *buf);
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
int chmod(char *file, __mode_t mode);
|
|
|
19 |
int lchmod(char *file, __mode_t mode);
|
|
|
20 |
int fchmod(int fd, __mode_t mode);
|
|
|
21 |
int fchmodat(int fd, char *file, __mode_t mode, int flag);
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
__mode_t umask(__mode_t mask);
|
|
|
25 |
__mode_t getumask();
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
int mkdir(char *path, __mode_t mode);
|
|
|
29 |
int mkdirat(int fd, char *path, __mode_t mode);
|
|
|
30 |
|
|
|
31 |
int mknod(char *path, __mode_t mode, __dev_t dev);
|
|
|
32 |
int mknodat(int fd, char *path, __mode_t mode, __dev_t dev);
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
int mkfifo(char *path, __mode_t mode);
|
|
|
36 |
int mkfifoat(int fd, char *path, __mode_t mode);
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
int utimensat(int fd, char *path, void *times, int flags);
|
|
|
40 |
int futimens(int fd, void *times);
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
int __fxstat(int ver, int fildes, stat *stat_buf);
|
|
|
44 |
int __xstat(int ver, char *filename, stat *stat_buf);
|
|
|
45 |
int __lxstat(int ver, char *filename, stat *stat_buf);
|
|
|
46 |
int __fxstatat(int ver, int fildes, char *filename, stat *stat_buf, int flag);
|
|
|
47 |
int __fxstat64(int ver, int fildes, stat64 *stat_buf);
|
|
|
48 |
int __xstat64(int ver, char *filename, stat64 *stat_buf);
|
|
|
49 |
int __lxstat64(int ver, char *filename, stat64 *stat_buf);
|
|
|
50 |
int __fxstatat64(int ver, int fildes, char *filename, stat64 *stat_buf, int flag);
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
int __xmknod(int ver, char *path, __mode_t mode, __dev_t *dev);
|
|
|
54 |
int __xmknodat(int ver, int fd, char *path, __mode_t mode, __dev_t *dev);
|