Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 99) sorted by relevance

1234

/external/bison/lib/
Ddup2.c95 # ifdef F_GETFL in rpl_dup2()
100 return fcntl (fd, F_GETFL) == -1 ? -1 : fd; in rpl_dup2()
140 int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; in dup2()
Dpipe2.c120 if ((fcntl_flags = fcntl (fd[1], F_GETFL, 0)) < 0 in pipe2()
122 || (fcntl_flags = fcntl (fd[0], F_GETFL, 0)) < 0 in pipe2()
Derror.c134 # ifndef F_GETFL in is_open()
137 return 0 <= fcntl (fd, F_GETFL); in is_open()
/external/strace/xlat/
Dfcntlcmds.h11 #if !(defined(F_GETFL) || (defined(HAVE_DECL_F_GETFL) && HAVE_DECL_F_GETFL))
12 # define F_GETFL 3 macro
96 XLAT(F_GETFL),
Dfcntlcmds.in5 F_GETFL 3
/external/libdaemon/libdaemon/
Ddnonblock.c37 if ((a = fcntl(fd, F_GETFL)) < 0) in daemon_nonblock()
/external/avahi/avahi-core/
Dfdutil.c50 if ((n = fcntl(fd, F_GETFL)) < 0) in avahi_set_nonblock()
/external/curl/lib/
Dnonblock.c58 flags = sfcntl(sockfd, F_GETFL, 0); in curlx_nonblock()
/external/android-clat/
Dtun.c73 int flags = fcntl(fd, F_GETFL); in set_nonblocking()
/external/valgrind/memcheck/tests/linux/
Dtimerfd-syscall.c300 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main()
310 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); in main()
/external/valgrind/auxprogs/
Dvalgrind-listener.c112 res = fcntl(sd, F_GETFL); in set_nonblocking()
123 res = fcntl(sd, F_GETFL); in set_blocking()
/external/lldb/tools/debugserver/source/
DTTYState.cpp37 m_tflags = fcntl (fd, F_GETFL, 0); in GetTTYState()
/external/ppp/pppd/
Dtty.c496 fdflags = fcntl(0, F_GETFL); in tty_check_options()
591 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 in connect_tty()
1055 flags = fcntl(pty_master, F_GETFL);
1059 flags = fcntl(ifd, F_GETFL);
1064 flags = fcntl(ofd, F_GETFL);
/external/boringssl/src/crypto/bio/
Dsocket_helper.c90 int flags = fcntl(sock, F_GETFL, 0); in bio_socket_nbio()
/external/dnsmasq/src/
Dlog.c131 if (max_logs != 0 && (flags = fcntl(log_fd, F_GETFL)) != -1) in log_reopen()
418 if ((flags = fcntl(log_fd, F_GETFL)) != -1) in flush_log()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/external/libmicrohttpd/src/microspdy/
Dio_raw.c69 fd_flags = fcntl (session->socket_fd, F_GETFL); in SPDYF_raw_new_session()
/external/avahi/avahi-utils/
Dsigint.c45 if ((n = fcntl(fd, F_GETFL)) < 0) in set_nonblock()
/external/toybox/toys/pending/
Dgetty.c132 fcntl(0, F_SETFL, fcntl(0, F_GETFL) & ~O_NONBLOCK); // Block read in open_tty()
141 if ((fcntl(0, F_GETFL) & (O_RDWR|O_RDONLY|O_WRONLY)) != O_RDWR) in open_tty()
/external/selinux/policycoreutils/newrole/
Dnewrole.c723 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in relabel_tty()
1255 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in main()
1262 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in main()
1269 rc = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NONBLOCK); in main()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c176 int old = fcntl(s, F_GETFL, 0); in u_socket_block()
/external/lldb/source/Host/common/
DTerminal.cpp143 m_tflags = ::fcntl (fd, F_GETFL, 0); in Save()
/external/dhcpcd-6.8.2/
Dcontrol.c169 if ((flags = fcntl(fd, F_GETFL, 0)) == -1 || in control_handle1()
225 if ((flags = fcntl(fd, F_GETFL, 0)) == -1 || in make_sock()
/external/bison/m4/
Dfcntl.m413 # - F_GETFL, F_SETFL
/external/strace/
Dfcntl.c145 case F_GETFL: in print_fcntl()

1234