Searched refs:FD_CLOEXEC (Results 1 – 7 of 7) sorted by relevance
/bionic/tests/ |
D | fcntl_test.cpp | 39 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST() 41 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); in TEST() 46 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
|
D | sys_socket_test.cpp | 110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
|
D | stdlib_test.cpp | 254 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST() 261 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
|
D | stdio_test.cpp | 1003 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST() 1011 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST() 1024 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST() 1031 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 151 #define FD_CLOEXEC 1 macro
|
/bionic/libc/stdio/ |
D | stdio.cpp | 258 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen() 259 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen()
|
/bionic/libc/bionic/ |
D | getentropy_linux.c | 240 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()
|