mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
os_open: add unit tests
This commit is contained in:
4
test/includes/pre/sys/errno.h
Normal file
4
test/includes/pre/sys/errno.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#include <sys/errno.h>
|
||||
|
||||
static const int kENOENT = ENOENT;
|
||||
static const int kEEXIST = EEXIST;
|
||||
7
test/includes/pre/sys/fcntl.h
Normal file
7
test/includes/pre/sys/fcntl.h
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user