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.c240 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.cpp37 int flags = fcntl(fd, F_GETFD); in TEST()
44 flags = fcntl(fd, F_GETFD); in TEST()
Dsys_socket_test.cpp110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
Dstdlib_test.cpp252 int flags = fcntl(tf.fd, F_GETFD); in TEST()
259 int flags = fcntl(tf.fd, F_GETFD); in TEST()
Dstdio_test.cpp1001 int flags = fcntl(fd, F_GETFD); in TEST()
1009 flags = fcntl(fileno(fp), F_GETFD); in TEST()
1022 int flags = fcntl(fileno(fp), F_GETFD); in TEST()
1029 flags = fcntl(fileno(fp), F_GETFD); in TEST()
/bionic/libc/stdio/
Dstdio.cpp258 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()