Skip to content

Commit 696ecec

Browse files
committed
fix: add missing FD_CLOEXEC
1 parent 985438e commit 696ecec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

newlib/libc/sys/hermit/sys/fcntl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
#define O_CLOEXEC 02000000 /* set close_on_exec */
6868
#endif
6969

70+
#define FD_CLOEXEC 1 /* posix */
7071
#define F_DUPFD 0 /* dup */
7172
#define F_GETFD 1 /* get close_on_exec */
7273
#define F_SETFD 2 /* set/clear close_on_exec */

0 commit comments

Comments
 (0)