API published in:
API deprecated in:
#include <sys/cdefs.h>
#include <sys/_types.h>
#include <sys/_timespec.h>
Go to the source code of this file.
Data Structures |
|
struct | stat |
Defines |
|
#define | S_ISUID 0004000 |
#define | S_ISGID 0002000 |
#define | S_IRWXU 0000700 |
#define | S_IRUSR 0000400 |
#define | S_IWUSR 0000200 |
#define | S_IXUSR 0000100 |
#define | S_IRWXG 0000070 |
#define | S_IRGRP 0000040 |
#define | S_IWGRP 0000020 |
#define | S_IXGRP 0000010 |
#define | S_IRWXO 0000007 |
#define | S_IROTH 0000004 |
#define | S_IWOTH 0000002 |
#define | S_IXOTH 0000001 |
#define | S_ISDIR(m) (((m) & 0170000) == 0040000) |
#define | S_ISCHR(m) (((m) & 0170000) == 0020000) |
#define | S_ISBLK(m) (((m) & 0170000) == 0060000) |
#define | S_ISREG(m) (((m) & 0170000) == 0100000) |
#define | S_ISFIFO(m) (((m) & 0170000) == 0010000) |
Typedefs |
|
typedef __blksize_t | blksize_t |
typedef __blkcnt_t | blkcnt_t |
typedef __dev_t | dev_t |
typedef __fflags_t | fflags_t |
typedef __gid_t | gid_t |
typedef __ino_t | ino_t |
typedef __mode_t | mode_t |
typedef __nlink_t | nlink_t |
typedef __off_t | off_t |
typedef __time_t | time_t |
typedef __uid_t | uid_t |
Functions |
|
__BEGIN_DECLS IMPORT_C int | chmod (const char *, mode_t) |
IMPORT_C int | fstat (int, struct stat *) |
IMPORT_C int | __xstat (int vers, const char *file, struct stat *buf) |
IMPORT_C int | __lxstat (int version, const char *file, struct stat *buf) |
IMPORT_C int | mkdir (const char *, mode_t) |
IMPORT_C int | mkfifo (const char *, mode_t) |
IMPORT_C int | stat (const char *__restrict, struct stat *__restrict) |
IMPORT_C mode_t | umask (mode_t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|