From a7eeb66a1b3ab5f4aea31798a384d7c5b886b3e1 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 26 Jun 2024 20:37:16 +0200 Subject: Libc/Kernel: Add fcntl() --- userland/libc/include/fcntl.h | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 userland/libc/include/fcntl.h (limited to 'userland') 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); -- cgit v1.2.3