Home
last modified time | relevance | path

Searched refs:F_GETFD (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Ddup2.cpp37 if (fcntl(old_fd, F_GETFD) == -1) { in dup2()
Dgetentropy_linux.c251 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h100 #define F_GETFD 1 macro
/bionic/tests/
Dfcntl_test.cpp28 int flags = fcntl(fd, F_GETFD); in TEST()
35 flags = fcntl(fd, F_GETFD); in TEST()
Dstdlib_test.cpp250 int flags = fcntl(tf.fd, F_GETFD); in TEST()
257 int flags = fcntl(tf.fd, F_GETFD); in TEST()
Dsys_socket_test.cpp110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
Dstdio_test.cpp883 int flags = fcntl(fd, F_GETFD); in TEST()
891 flags = fcntl(fileno(fp), F_GETFD); in TEST()
904 int flags = fcntl(fileno(fp), F_GETFD); in TEST()
911 flags = fcntl(fileno(fp), F_GETFD); in TEST()
/bionic/libc/stdio/
Dstdio.cpp248 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()