mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
fcntl: add O_CLOEXEC/FD_CLOEXEC support
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
#define O_DSYNC O_SYNC /* Equivalent to OSYNC in NuttX */
|
||||
#define O_BINARY (1 << 8) /* Open the file in binary (untranslated) mode. */
|
||||
#define O_DIRECT (1 << 9) /* Avoid caching, write directly to hardware */
|
||||
#define O_CLOEXEC (1 << 10) /* Close on execute */
|
||||
|
||||
/* Unsupported, but required open flags */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user