|
ginnOS
The reference: libc, the libraries and the kernel
|
Go to the source code of this file.
Data Structures | |
| struct | kstat |
Macros | |
| #define | S_IFMT 0170000 |
| struct stat as user space sees it (stat, fstat). | |
| #define | S_IFIFO 0010000 |
| #define | S_IFSOCK 0140000 |
| #define | S_IFCHR 0020000 |
| #define | S_IFDIR 0040000 |
| #define | S_IFBLK 0060000 |
| #define | S_IFREG 0100000 |
| #define | S_IFLNK 0120000 |
| #define S_IFMT 0170000 |
struct stat as user space sees it (stat, fstat).
the layout and the S_ bits are ABI: the libc's <sys/stat.h> has the same ones.
| #define S_IFIFO 0010000 |
| #define S_IFSOCK 0140000 |
| #define S_IFCHR 0020000 |
| #define S_IFDIR 0040000 |
| #define S_IFBLK 0060000 |
| #define S_IFREG 0100000 |
| #define S_IFLNK 0120000 |