Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 26 – 50 of 59) sorted by relevance

123

/dragonfly/contrib/ldns/
H A Dnet.c117 if((flag = fcntl(sockfd, F_GETFL)) != -1) { in ldns_sock_nonblock()
137 if((flag = fcntl(sockfd, F_GETFL)) != -1) { in ldns_sock_block()
/dragonfly/contrib/tcsh-6/
H A Dsh.sem.c862 (void) fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_LARGEFILE); in doio()
922 (void) fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_LARGEFILE); in doio()
/dragonfly/bin/sh/
H A Dinput.c170 int flags = fcntl(0, F_GETFL, 0); in preadfd()
H A Dshow.c405 if ((flags = fcntl(fileno(tracefile), F_GETFL, 0)) >= 0) in opentrace()
/dragonfly/sbin/slattach/
H A Dslattach.c283 if ((oflags = fcntl(fd, F_GETFL)) == -1) { in acquire_line()
/dragonfly/games/morse/
H A Dmorse.c433 lflags = fcntl(line, F_GETFL); in main()
/dragonfly/contrib/dialog/
H A Dui_getc.c326 if (fcntl(fd, F_GETFL, 0) >= 0) { in valid_file()
/dragonfly/contrib/libedit/src/
H A Dread.c170 if ((e = fcntl(fd, F_GETFL, 0)) == -1) in read__fixio()
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dctrl_iface_unix.c662 flags = fcntl(priv->sock, F_GETFL); in wpas_ctrl_iface_open_sock()
1267 flags = fcntl(priv->sock, F_GETFL); in wpas_global_ctrl_iface_open_sock()
/dragonfly/sbin/newfs/
H A Dnewfs.c709 if (fcntl(STDERR_FILENO, F_GETFL) < 0) { in fatal()
/dragonfly/games/hunt/huntd/
H A Danswer.c115 flags = fcntl(newsock, F_GETFL, 0); in answer_first()
H A Ddriver.c1022 flags = fcntl(s, F_GETFL, 0); in send_stats()
/dragonfly/contrib/dhcpcd/src/
H A Dcontrol.c317 if ((flags = fcntl(fd, F_GETFL, 0)) == -1 || in control_handle1()
/dragonfly/crypto/openssh/
H A Dmisc.c109 val = fcntl(fd, F_GETFL); in set_nonblock()
133 val = fcntl(fd, F_GETFL); in unset_nonblock()
1478 if (fcntl(dupfd, F_GETFL) == -1 && errno == EBADF) { in sanitise_stdfd()
/dragonfly/contrib/cvs-1.12/src/
H A Dbuffer.c1988 # if defined (F_GETFL) && defined (O_NONBLOCK) && defined (F_SETFL) in fd_buffer_block()
1991 flags = fcntl (fb->fd, F_GETFL, 0); in fd_buffer_block()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_syscalls.c268 case F_GETFL: in __fcntl()
/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_ctrl.c234 flags = fcntl(ctrl->s, F_GETFL); in wpa_ctrl_open2()
/dragonfly/lib/libc/rpc/
H A Dsvc_vc.c339 flags = _fcntl(sock, F_GETFL, 0); in rendezvous_request()
/dragonfly/usr.sbin/dconschat/
H A Ddconschat.c585 flags = fcntl(ns, F_GETFL, 0); in dconschat_accept_socket()
/dragonfly/usr.sbin/ftp-proxy/
H A Dftp-proxy.c507 if ((fc = fcntl(s->server_fd, F_GETFL)) == -1 || in handle_connection()
/dragonfly/contrib/tnftp/src/
H A Dutil.c1409 if ((flags = fcntl(sock, F_GETFL, 0)) == -1) { in ftp_connect()
/dragonfly/libexec/ftpd/
H A Dftpd.c1891 if ((flags = fcntl(pdata, F_GETFL, 0)) == -1 || in dataconn()
1903 if ((flags = fcntl(pdata, F_GETFL, 0)) == -1 || in dataconn()
/dragonfly/contrib/libpcap/
H A Dpcap.c3541 fdflags = fcntl(p->fd, F_GETFL, 0);
3587 fdflags = fcntl(p->fd, F_GETFL, 0);
/dragonfly/lib/libusb/
H A Dlibusb10.c90 flags = fcntl(f, F_GETFL, NULL); in libusb_set_nonblocking()
/dragonfly/sys/kern/
H A Dkern_descrip.c760 case F_GETFL: in kern_fcntl()
959 case F_GETFL: in sys_fcntl()

123