summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/go32/sys/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/go32/sys/fcntl.h')
-rw-r--r--newlib/libc/sys/go32/sys/fcntl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/libc/sys/go32/sys/fcntl.h b/newlib/libc/sys/go32/sys/fcntl.h
new file mode 100644
index 00000000000..792c0673d8d
--- /dev/null
+++ b/newlib/libc/sys/go32/sys/fcntl.h
@@ -0,0 +1,12 @@
+#define O_RDONLY 0x0001
+#define O_WRONLY 0x0002
+#define O_RDWR 0x0004
+#define O_CREAT 0x0100
+#define O_TRUNC 0x0200
+#define O_EXCL 0x0400
+#define O_APPEND 0x0800
+#define O_TEXT 0x4000
+#define O_BINARY 0x8000
+
+
+