diff options
author | dzwdz | 2023-08-14 18:51:07 +0200 |
---|---|---|
committer | dzwdz | 2023-08-14 18:51:07 +0200 |
commit | 642b5fb0007b64c77d186fcb018d571152ee1d47 (patch) | |
tree | 1c466461f3602d306be309a053edae558ef2568e /src/user/lib/include/fcntl.h | |
parent | 8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff) |
reorganization: first steps
Diffstat (limited to 'src/user/lib/include/fcntl.h')
-rw-r--r-- | src/user/lib/include/fcntl.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/user/lib/include/fcntl.h b/src/user/lib/include/fcntl.h deleted file mode 100644 index 6338d1f..0000000 --- a/src/user/lib/include/fcntl.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#define F_SETFL 1 -#define F_GETFL 2 -#define F_DUPFD 3 -#define F_SETFD 4 - -#define FD_CLOEXEC 1 - -#define O_APPEND 0 -#define O_CREAT 0 -#define O_EXCL 0 -#define O_NONBLOCK 0 -#define O_RDONLY 0 -#define O_RDWR 0 -#define O_TRUNC 0 -#define O_WRONLY 0 - -#define R_OK 1 -#define W_OK 2 -#define X_OK 4 - -/* it can either take an additonal mode_t argument or none */ -int open(const char *path, int flags, ...); -int fcntl(int fd, int cmd, ...); |