Home
last modified time | relevance | path

Searched refs:fcntl (Results 1 – 17 of 17) sorted by relevance

/bionic/tests/
Dfcntl_test.cpp24 TEST(fcntl, fcntl_smoke) { in TEST() argument
28 int flags = fcntl(fd, F_GETFD); in TEST()
32 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); in TEST()
35 flags = fcntl(fd, F_GETFD); in TEST()
42 TEST(fcntl, open_open64) { in TEST() argument
54 TEST(fcntl, openat_openat64) { in TEST() argument
66 TEST(fcntl, creat_creat64) { in TEST() argument
73 TEST(fcntl, posix_fadvise) { in TEST() argument
93 TEST(fcntl, fallocate_EINVAL) { in TEST() argument
116 TEST(fcntl, fallocate) { in TEST() argument
[all …]
Dsys_socket_test.cpp126 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC); in TestAccept4()
Dstdlib_test.cpp175 ASSERT_EQ(O_LARGEFILE, fcntl(tf.fd, F_GETFL) & O_LARGEFILE); in TEST()
/bionic/libc/arch-arm64/syscalls/
Dfcntl.S5 ENTRY(fcntl)
14 END(fcntl)
/bionic/libc/arch-x86_64/syscalls/
Dfcntl.S5 ENTRY(fcntl)
15 END(fcntl)
/bionic/libc/arch-mips64/syscalls/
Dfcntl.S5 ENTRY(fcntl)
25 END(fcntl)
/bionic/libc/upstream-freebsd/android/include/
Dfreebsd-compat.h42 #define _fcntl fcntl
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfdopen.c58 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0) in fdopen()
/bionic/libc/include/
Dfcntl.h70 extern int fcntl(int, int, ...);
Dunistd.h149 extern int fcntl(int, int, ...);
/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp48 int fcntl(int fd, int cmd, ...) { in fcntl() function
Dgetentropy_linux.c251 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in getentropy_urandom()
Dsystem_properties.cpp193 const int ret = fcntl(fd, F_SETFD, FD_CLOEXEC); in map_prop_area_rw()
264 const int ret = fcntl(fd, F_SETFD, FD_CLOEXEC); in map_prop_area()
Dlibc_logging.cpp462 if (fcntl(log_fd, F_SETFL, O_NONBLOCK) == -1) { in __libc_open_log_socket()
/bionic/libc/dns/resolv/
Dres_send.c950 origflags = fcntl(sock, F_GETFL, 0); in connect_with_timeout()
951 fcntl(sock, F_SETFL, origflags | O_NONBLOCK); in connect_with_timeout()
972 fcntl(sock, F_SETFL, origflags); in connect_with_timeout()
/bionic/libc/
DSYSCALLS.TXT114 int fcntl(int, int, void*) arm64,mips64,x86_64
/bionic/linker/
Dlinker.cpp1819 status = TEMP_FAILURE_RETRY(fcntl(i, F_GETFL)); in nullify_closed_stdio()