Home
last modified time | relevance | path

Searched refs:FD_CLOEXEC (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/
Dfcntl_test.cpp40 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()
Dutils.h196 ASSERT_EQ(close_on_exec ? FD_CLOEXEC : 0, flags & FD_CLOEXEC); in AssertCloseOnExec()
Dsys_mman_test.cpp283 ASSERT_FALSE(f & FD_CLOEXEC); in TEST()
290 ASSERT_TRUE(f & FD_CLOEXEC); in TEST()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h127 #define FD_CLOEXEC 1 macro
/bionic/tests/headers/posix/
Dfcntl_h.c46 MACRO(FD_CLOEXEC); in fcntl_h()
/bionic/libc/stdio/
Dstdio.cpp295 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()
296 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen()