You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/02/20 02:57:07 UTC

[GitHub] [incubator-nuttx] anchao commented on a change in pull request #326: fcntl: add O_CLOEXEC flag

anchao commented on a change in pull request #326: fcntl: add O_CLOEXEC flag
URL: https://github.com/apache/incubator-nuttx/pull/326#discussion_r381695265
 
 

 ##########
 File path: include/fcntl.h
 ##########
 @@ -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 */
 
 Review comment:
   No implementation, just to ensure the compatibility of linux applications

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services