Searched refs:FD_CLOEXEC (Results 1 – 6 of 6) sorted by relevance
40 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST()42 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); in TEST()47 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
196 ASSERT_EQ(close_on_exec ? FD_CLOEXEC : 0, flags & FD_CLOEXEC); in AssertCloseOnExec()
283 ASSERT_FALSE(f & FD_CLOEXEC); in TEST()290 ASSERT_TRUE(f & FD_CLOEXEC); in TEST()
127 #define FD_CLOEXEC 1 macro
46 MACRO(FD_CLOEXEC); in fcntl_h()
295 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()296 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen()