mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
729064af5f
POSIX.1-2008[1] says that the latter should be used, and all of our supported platforms would seem to support this scheme, apparently even Windows[2]. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html [2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
8 lines
225 B
C
8 lines
225 B
C
#include <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;
|