Searched refs:FD_CLOEXEC (Results 1 – 7 of 7) sorted by relevance
/bionic/tests/ |
D | fcntl_test.cpp | 30 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST() 32 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); in TEST() 37 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
|
D | stdlib_test.cpp | 252 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST() 259 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 | stdio_test.cpp | 885 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST() 893 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST() 906 ASSERT_EQ(0, flags & FD_CLOEXEC); in TEST() 913 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 | 248 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen() 249 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); in fdopen()
|
/bionic/libc/bionic/ |
D | getentropy_linux.c | 251 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()
|