diff options
author | Anton Kling <anton@kling.gg> | 2024-06-26 20:37:16 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-06-26 20:37:16 +0200 |
commit | a7eeb66a1b3ab5f4aea31798a384d7c5b886b3e1 (patch) | |
tree | 799f1134ab2ab22eaebb832aa6be1181901b3fc3 /userland | |
parent | 8c032568c572ad346491f78325c278b886122ec5 (diff) |
Libc/Kernel: Add fcntl()
Diffstat (limited to 'userland')
-rw-r--r-- | userland/libc/include/fcntl.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/userland/libc/include/fcntl.h b/userland/libc/include/fcntl.h deleted file mode 100644 index 57c968a..0000000 --- a/userland/libc/include/fcntl.h +++ /dev/null @@ -1,14 +0,0 @@ -// FIXME: Is there some standard value for this? -#define O_NONBLOCK (1 << 0) -#define O_READ (1 << 1) -#define O_WRITE (1 << 2) -#define O_CREAT (1 << 3) -#define O_TRUNC (1 << 4) -#define O_APPEND (1 << 5) - -#define O_RDONLY O_READ -#define O_WRONLY O_WRITE -#define O_RDWR (O_WRITE | O_READ) - -int open(const char *file, int flags, ...); -int open_process(int pid); |