#include <sys/types.h>#include <ansi.h>

Go to the source code of this file.
Data Types | |
| type | stat |
Defines | |
| #define | S_IFMT 0170000 |
| #define | S_IFREG 0100000 |
| #define | S_IFBLK 0060000 |
| #define | S_IFDIR 0040000 |
| #define | S_IFCHR 0020000 |
| #define | S_IFIFO 0010000 |
| #define | S_ISUID 0004000 |
| #define | S_ISGID 0002000 |
| #define | S_ISVTX 01000 |
| #define | S_IRWXU 00700 |
| #define | S_IRUSR 00400 |
| #define | S_IWUSR 00200 |
| #define | S_IXUSR 00100 |
| #define | S_IRWXG 00070 |
| #define | S_IRGRP 00040 |
| #define | S_IWGRP 00020 |
| #define | S_IXGRP 00010 |
| #define | S_IRWXO 00007 |
| #define | S_IROTH 00004 |
| #define | S_IWOTH 00002 |
| #define | S_IXOTH 00001 |
| #define | S_ISREG(m) ((m & S_IFMT) == S_IFREG) |
| #define | S_ISDIR(m) ((m & S_IFMT) == S_IFDIR) |
| #define | S_ISCHR(m) ((m & S_IFMT) == S_IFCHR) |
| #define | S_ISBLK(m) ((m & S_IFMT) == S_IFBLK) |
| #define | S_ISFIFO(m) ((m & S_IFMT) == S_IFIFO) |
Functions/Subroutines | |
| _PROTOTYPE (int chmod,(const char *_path, int _mode)) | |
| _PROTOTYPE (int fstat,(int _fildes, struct stat *_buf)) | |
| _PROTOTYPE (int stat,(const char *_path, struct stat *_buf)) | |
| _PROTOTYPE (mode_t umask,(int _cmask)) | |
| #define S_IFDIR 0040000 |
Definition at line 31 of file stat.h.
Referenced by _stat(), create_file(), f_open_com(), and is_directory().
| #define S_IFIFO 0010000 |
| #define S_IFMT 0170000 |
| #define S_IFREG 0100000 |
Definition at line 29 of file stat.h.
Referenced by _stat(), find_files_in_directory(), and Is_File().
| #define S_IRUSR 00400 |
| #define S_ISBLK | ( | m | ) | ((m & S_IFMT) == S_IFBLK) |
Definition at line 59 of file stat.h.
Referenced by _PXFISBLK(), read_file_guts(), and read_include_file().
| #define S_ISCHR | ( | m | ) | ((m & S_IFMT) == S_IFCHR) |
| #define S_ISDIR | ( | m | ) | ((m & S_IFMT) == S_IFDIR) |
Definition at line 57 of file stat.h.
Referenced by _PXFISDIR(), access_check(), assertCanWriteDir(), check_for_scripts_dir(), cif_VerifyCanWrite(), create_file_names(), do_spec_1(), find_a_file(), get_relative_sysroot(), is_directory(), munge_compile_params(), open_file(), open_files(), parse_args(), pch_open_file(), remove_component_p(), and remove_duplicates().
| #define S_ISFIFO | ( | m | ) | ((m & S_IFMT) == S_IFIFO) |
| #define S_ISREG | ( | m | ) | ((m & S_IFMT) == S_IFREG) |
Definition at line 56 of file stat.h.
Referenced by _f_opn(), _PXFISREG(), Cif_Open(), compile_resource_file(), DEFUN(), delete_if_ordinary(), dwarf_init(), file_exists(), finclude(), is_regular_file(), main(), quoted_file_exists(), read_file_guts(), read_include_file(), stack_include_file(), and unlink_if_ordinary().
| #define S_IWUSR 00200 |
Definition at line 42 of file stat.h.
Referenced by _fio_du_flush(), _fio_du_write(), and pex_djgpp_open_write().
| _PROTOTYPE | ( | mode_t | umask, | |
| (int _cmask) | ||||
| ) |
| _PROTOTYPE | ( | int | chmod, | |
| (const char *_path, int _mode) | ||||
| ) |
1.5.6