|
nckernel
0.1
|

Go to the source code of this file.
Macros | |
| #define | F_DUPFD 0 /* Duplicate file descriptor. */ |
| #define | F_GETFD 1 /* Get file descriptor flags. */ |
| #define | F_GETFL 3 /* Get file status flags. */ |
| #define | F_GETLK 5 /* Get record locking info. */ |
| #define | F_GETOWN 9 /* Set owner (process receiving SIGIO). */ |
| #define | F_SETFD 2 /* Set file descriptor flags. */ |
| #define | F_SETFL 4 /* Set file status flags. */ |
| #define | F_SETLK 6 /* Set record locking info (non-blocking). */ |
| #define | F_SETLKW 7 /* Set record locking info (blocking). */ |
| #define | F_SETOWN 8 /* Get owner (process receiving SIGIO). */ |
| #define | O_ACCMODE 0003 |
| #define | O_APPEND 02000 |
| #define | O_ASYNC 020000 |
| #define | O_CREAT 0100 /* not fcntl */ |
| #define | O_EXCL 0200 /* not fcntl */ |
| #define | O_FSYNC O_SYNC |
| #define | O_NDELAY O_NONBLOCK |
| #define | O_NOCTTY 0400 /* not fcntl */ |
| #define | O_NONBLOCK 04000 |
| #define | O_RDONLY 00 |
| #define | O_RDWR 02 |
| #define | O_SYNC 04010000 |
| #define | O_TRUNC 01000 /* not fcntl */ |
| #define | O_WRONLY 01 |
Functions | |
| int | creat (const char *path, mode_t mode) |
| int | fcntl (int fd, int cmd,...) |
| int | open (const char *path, int mode,...) |
| int | openat (int fd, const char *path, int mode,...) |
| int | posix_fadvise (int fd, off_t offset, off_t len, int advice) |
| int | posix_fallocate (int fd, off_t offset, off_t len) |
1.8.4