os_nodetype: impl with libuv

This commit is contained in:
Justin M. Keyes
2014-08-22 03:15:00 +00:00
parent 43e7c40051
commit 7db4a15e95
5 changed files with 75 additions and 30 deletions

View File

@@ -4,12 +4,6 @@
#include "nvim/types.h" // for vim_acl_T
#include "nvim/os/shell.h"
/* Values returned by mch_nodetype() */
#define NODE_NORMAL 0 /* file or directory, check with os_isdir()*/
#define NODE_WRITABLE 1 /* something we can write to (character
device, fifo, socket, ..) */
#define NODE_OTHER 2 /* non-writable thing (e.g., block device) */
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "os_unix.h.generated.h"
#endif