add deprecated (removed from posix) [efg]cvt() functions
[musl] / include / fcntl.h
index 6faf9cd..1c18c6e 100644 (file)
@@ -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