Go to the source code of this file.
◆ S_BLKSIZE
#define S_BLKSIZE 1024 /* size of a block */ |
◆ S_IFBLK
◆ S_IFCHR
◆ S_IFDIR
◆ S_IFIFO
◆ S_IFLNK
◆ S_IFMT
◆ S_IFREG
◆ S_IFSOCK
◆ S_IRGRP
#define S_IRGRP 0000040 /* read permission, group */ |
◆ S_IROTH
#define S_IROTH 0000004 /* read permission, other */ |
◆ S_IRUSR
#define S_IRUSR 0000400 /* read permission, owner */ |
◆ S_IRWXG
◆ S_IRWXO
◆ S_IRWXU
◆ S_ISBLK
#define S_ISBLK |
( |
|
m | ) |
(((m)&_IFMT) == _IFBLK) |
◆ S_ISCHR
#define S_ISCHR |
( |
|
m | ) |
(((m)&_IFMT) == _IFCHR) |
◆ S_ISDIR
#define S_ISDIR |
( |
|
m | ) |
(((m)&_IFMT) == _IFDIR) |
◆ S_ISFIFO
#define S_ISFIFO |
( |
|
m | ) |
(((m)&_IFMT) == _IFIFO) |
◆ S_ISGID
#define S_ISGID 0002000 /* set group id on execution */ |
◆ S_ISLNK
#define S_ISLNK |
( |
|
m | ) |
(((m)&_IFMT) == _IFLNK) |
◆ S_ISREG
#define S_ISREG |
( |
|
m | ) |
(((m)&_IFMT) == _IFREG) |
◆ S_ISSOCK
#define S_ISSOCK |
( |
|
m | ) |
(((m)&_IFMT) == _IFSOCK) |
◆ S_ISUID
#define S_ISUID 0004000 /* set user id on execution */ |
◆ S_ISVTX
#define S_ISVTX 0001000 /* save swapped text even after use */ |
◆ S_IWGRP
#define S_IWGRP 0000020 /* write permission, grougroup */ |
◆ S_IWOTH
#define S_IWOTH 0000002 /* write permission, other */ |
◆ S_IWUSR
#define S_IWUSR 0000200 /* write permission, owner */ |
◆ S_IXGRP
#define S_IXGRP 0000010 /* execute/search permission, group */ |
◆ S_IXOTH
#define S_IXOTH 0000001 /* execute/search permission, other */ |
◆ S_IXUSR
#define S_IXUSR 0000100 /* execute/search permission, owner */ |
◆ st_atime
#define st_atime st_atim.tv_sec |
◆ st_ctime
#define st_ctime st_ctim.tv_sec |
◆ st_mtime
#define st_mtime st_mtim.tv_sec |
◆ chmod()
int chmod |
( |
const char * |
__path, |
|
|
mode_t |
__mode |
|
) |
| |
◆ fchmod()
int fchmod |
( |
int |
__fd, |
|
|
mode_t |
__mode |
|
) |
| |
◆ fstat()
int fstat |
( |
int |
__fd, |
|
|
struct stat * |
__sbuf |
|
) |
| |
◆ mkdir()
int mkdir |
( |
const char * |
_path, |
|
|
mode_t |
__mode |
|
) |
| |
◆ mkfifo()
int mkfifo |
( |
const char * |
__path, |
|
|
mode_t |
__mode |
|
) |
| |
◆ stat()
int stat |
( |
const char *__restrict |
__path, |
|
|
struct stat *__restrict |
__sbuf |
|
) |
| |
◆ umask()