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/upstream-openbsd/lib/libc/stdio/
Dfdopen.c81 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) in fdopen()
/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.cpp248 int flags = fcntl(tf.fd, F_GETFD); in TEST()
255 int flags = fcntl(tf.fd, F_GETFD); in TEST()
Dstdio_test.cpp837 int flags = fcntl(fd, F_GETFD); in TEST()
845 flags = fcntl(fileno(fp), F_GETFD); in TEST()
858 int flags = fcntl(fileno(fp), F_GETFD); in TEST()
865 flags = fcntl(fileno(fp), F_GETFD); in TEST()
Dsys_socket_test.cpp110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()