summaryrefslogtreecommitdiff
path: root/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/os.h')
-rw-r--r--include/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index 7116f87578..9e3a561b65 100644
--- a/include/os.h
+++ b/include/os.h
@@ -75,6 +75,7 @@ int os_open(const char *pathname, int flags);
#define OS_O_RDWR 2
#define OS_O_MASK 3 /* Mask for read/write flags */
#define OS_O_CREAT 0100
+#define OS_O_TRUNC 01000
/**
* Access to the OS close() system call