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