aboutsummaryrefslogtreecommitdiff
path: root/test/includes/pre/sys/fcntl.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-06-30 02:23:41 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-07-14 09:05:52 -0400
commit0ceebc2c913cc497735e001772cb6b395c36cecc (patch)
tree4e06241295ab8e32358a06eff245431daae52d24 /test/includes/pre/sys/fcntl.h
parent180c84ed378e694ebcd14198a7436e01462d2c4d (diff)
downloadrneovim-0ceebc2c913cc497735e001772cb6b395c36cecc.tar.gz
rneovim-0ceebc2c913cc497735e001772cb6b395c36cecc.tar.bz2
rneovim-0ceebc2c913cc497735e001772cb6b395c36cecc.zip
os_open: add unit tests
Diffstat (limited to 'test/includes/pre/sys/fcntl.h')
-rw-r--r--test/includes/pre/sys/fcntl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/includes/pre/sys/fcntl.h b/test/includes/pre/sys/fcntl.h
new file mode 100644
index 0000000000..767c97a631
--- /dev/null
+++ b/test/includes/pre/sys/fcntl.h
@@ -0,0 +1,7 @@
+#include <sys/fcntl.h>
+
+static const mode_t kO_RDONLY = O_RDONLY;
+static const mode_t kO_WRONLY = O_WRONLY;
+static const mode_t kO_RDWR = O_RDWR;
+static const mode_t kO_CREAT = O_CREAT;
+static const mode_t kO_EXCL = O_EXCL;