Searched refs:FD_CLOEXEC (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h179 #define O_CLOEXEC 0x1000000 /* implicitly set FD_CLOEXEC */
319 #define F_DUPFD_CLOEXEC 67 /* mark the dup with FD_CLOEXEC */
323 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c3375 my_tmep = (my_result & FD_CLOEXEC);
3377 /* FD_CLOEXEC is on, let's turn it off */
3381 /* FD_CLOEXEC is off, let's turn it on */
3396 printf( "fcntl - F_SETFD failed to set FD_CLOEXEC correctly!!! \n" );
3400 /* dup it to a new fd with FD_CLOEXEC forced on */
3409 /* check to see that it too is marked with FD_CLOEXEC */
3416 if ( (my_result & FD_CLOEXEC) == 0 ) {
3417 printf( "fcntl - F_DUPFD_CLOEXEC failed to set FD_CLOEXEC!!! \n" );
3440 /* check to see that it too is marked with FD_CLOEXEC */
3447 if ( (my_result & FD_CLOEXEC)
[all...]

Completed in 27 milliseconds