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 2022/06/03 14:02:00 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6357: libc/stdio: Support 'e'(O_CLOEXEC) in lib_mode2oflags

pkarashchenko commented on code in PR #6357:
URL: https://github.com/apache/incubator-nuttx/pull/6357#discussion_r888974647


##########
include/sys/eventfd.h:
##########
@@ -33,7 +33,7 @@
  ****************************************************************************/
 
 #define EFD_NONBLOCK  O_NONBLOCK
-#define EFD_SEMAPHORE O_BINARY
+#define EFD_SEMAPHORE (1 << 30)

Review Comment:
   Maybe we can map this to `O_SYNC`?



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org