summaryrefslogtreecommitdiff
path: root/api/posix/fcntl.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2024-02-24 00:59:40 +0000
committerAda Christine <adachristine18@gmail.com>2024-02-24 00:59:40 +0000
commita61b9d1c9ee85ec08ff3b8a61e80dc33e71f3472 (patch)
treeed3c6ecaa88d82f422cc73fea30183b9575d7ba3 /api/posix/fcntl.h
parentcadd8266b02035065559ddd27aa0b37051bf16e9 (diff)
cleanup
Diffstat (limited to 'api/posix/fcntl.h')
-rw-r--r--api/posix/fcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/posix/fcntl.h b/api/posix/fcntl.h
index 7e55e02..8a6ee7a 100644
--- a/api/posix/fcntl.h
+++ b/api/posix/fcntl.h
@@ -1,4 +1,8 @@
#pragma once
+#include "sys/types.h"
+
#define O_RDONLY 0
+int open(const char *path, int flags, mode_t mode);
+