summaryrefslogtreecommitdiff
path: root/userland/libc/fcntl.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-30 21:44:25 +0100
committerAnton Kling <anton@kling.gg>2023-10-30 21:49:48 +0100
commit5a339a9b7b5cdcee3629b14f1b6a58ac4ab60fce (patch)
tree4928f7d63cab8dfa04a79506fdce22547ccef41f /userland/libc/fcntl.h
parentfdb75cf832af77c0d93e0adb514c30964c6b680f (diff)
LibC: Remove header files that are not in the "include" directory
Diffstat (limited to 'userland/libc/fcntl.h')
-rw-r--r--userland/libc/fcntl.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/userland/libc/fcntl.h b/userland/libc/fcntl.h
deleted file mode 100644
index 4c1eb9c..0000000
--- a/userland/libc/fcntl.h
+++ /dev/null
@@ -1,10 +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_RDONLY O_READ
-#define O_WRONLY O_WRITE
-#define O_RDWR (O_WRITE | O_READ)
-
-int open(const char *file, int flags, int mode);