aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os_unix.h')
-rw-r--r--src/nvim/os_unix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/os_unix.h b/src/nvim/os_unix.h
index 3c2f1603b3..5610fe68eb 100644
--- a/src/nvim/os_unix.h
+++ b/src/nvim/os_unix.h
@@ -3,6 +3,12 @@
#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