diff options
Diffstat (limited to 'include/fcntl.h')
-rw-r--r-- | include/fcntl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index 6faf9cda..1c18c6e2 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -78,6 +78,14 @@ int posix_fallocate(int, off_t, off_t); #define S_IRWXO 0007 #endif +#ifdef _GNU_SOURCE +#define FAPPEND O_APPEND +#define FFSYNC O_FSYNC +#define FASYNC O_ASYNC +#define FNONBLOCK O_NONBLOCK +#define FNDELAY O_NDELAY +#endif + #ifdef __cplusplus } #endif |