Home
last modified time | relevance | path

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

/bionic/tests/
Dfcntl_test.cpp39 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()
Dsys_socket_test.cpp110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
Dstdlib_test.cpp254 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
261 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
Dstdio_test.cpp1003 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/
Dfcntl.h151 #define FD_CLOEXEC 1 macro
/bionic/libc/stdio/
Dstdio.cpp258 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/
Dgetentropy_linux.c240 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()