summaryrefslogtreecommitdiff
path: root/api/posix/fcntl.h
diff options
context:
space:
mode:
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);
+