Searched refs:F_GETFD (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | dup2.cpp | 37 if (fcntl(old_fd, F_GETFD) == -1) { in dup2()
|
D | getentropy_linux.c | 251 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fdopen.c | 81 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) in fdopen()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 100 #define F_GETFD 1 macro
|
/bionic/tests/ |
D | fcntl_test.cpp | 28 int flags = fcntl(fd, F_GETFD); in TEST() 35 flags = fcntl(fd, F_GETFD); in TEST()
|
D | stdlib_test.cpp | 248 int flags = fcntl(tf.fd, F_GETFD); in TEST() 255 int flags = fcntl(tf.fd, F_GETFD); in TEST()
|
D | stdio_test.cpp | 837 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()
|
D | sys_socket_test.cpp | 110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
|