summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-10 11:26:52 -0400
committerIan Moffett <ian@osmora.org>2024-04-10 11:26:52 -0400
commitaf6320c545f13c62958120a3724113d483f2a904 (patch)
tree6c215871ac9443e3008f560b8fedc17e49e97072 /lib/libc/include
parent190f059455b7057c99cb3b24ca63d5ff0872a562 (diff)
libc: Add open()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/fcntl.h b/lib/libc/include/fcntl.h
index 132aa0e..d17bf33 100644
--- a/lib/libc/include/fcntl.h
+++ b/lib/libc/include/fcntl.h
@@ -41,4 +41,6 @@
#define O_WRONLY 0x00001
#define O_RDWR 0x00002
+int open(const char *pathname, int flags, ...);
+
#endif /* !_FCNTL_H */