hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/sysroot/usr/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysroot/usr/include/fcntl.h')
-rw-r--r--sysroot/usr/include/fcntl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysroot/usr/include/fcntl.h b/sysroot/usr/include/fcntl.h
new file mode 100644
index 0000000..4c9dc07
--- /dev/null
+++ b/sysroot/usr/include/fcntl.h
@@ -0,0 +1,12 @@
+#ifndef _FCNTL_H
+#define _FCNTL_H
+
+#define O_RDONLY 0
+#define O_WRONLY 1
+#define O_CREAT 0x40
+#define O_TRUNC 0x200
+#define O_APPEND 0x400
+
+int open(const char* path, int flags);
+
+#endif