Home
last modified time | relevance | path

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

/bionic/tests/
Dfcntl_test.cpp30 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()
Dstdlib_test.cpp252 ASSERT_EQ(FD_CLOEXEC, flags & FD_CLOEXEC); in TEST()
259 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()
Dstdio_test.cpp885 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/
Dfcntl.h151 #define FD_CLOEXEC 1 macro
/bionic/libc/stdio/
Dstdio.cpp248 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/
Dgetentropy_linux.c251 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()