Home
last modified time | relevance | path

Searched refs:FIONBIO (Results 1 – 25 of 71) sorted by relevance

123

/freebsd/contrib/ntp/libntp/
H A Dsocket.c137 /* in vxWorks we use FIONBIO, but the others are defined for old in make_socket_nonblocking()
163 #elif defined(FIONBIO) in make_socket_nonblocking()
167 if (ioctl(fd, FIONBIO, &on) < 0) { in make_socket_nonblocking()
169 "ioctl(FIONBIO) fails on fd #%d: %m", in make_socket_nonblocking()
/freebsd/libexec/getty/
H A Dchat.c83 ioctl(STDIN_FILENO, FIONBIO, &on); in chat_alrm()
95 return ioctl(STDIN_FILENO, FIONBIO, &off); in chat_unalarm()
477 ioctl(STDIN_FILENO, FIONBIO, &off); in getty_chat()
/freebsd/sys/dev/null/
H A Dnull.c114 case FIONBIO: in null_ioctl()
135 case FIONBIO: in zero_ioctl()
/freebsd/tests/sys/fifo/
H A Dfifo_misc.c195 if (test_ioctl_setclearflag(reader_fd, FIONBIO, __func__, in test_ioctl()
201 if (test_ioctl_setclearflag(writer_fd, FIONBIO, __func__, in test_ioctl()
/freebsd/sys/sys/
H A Dfilio.h47 #define FIONBIO _IOW('f', 126, int) /* set/clear non-blocking i/o */ macro
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_sock.c318 # ifdef FIONBIO in BIO_socket_nbio()
321 ret = BIO_socket_ioctl(s, FIONBIO, &l); in BIO_socket_nbio()
/freebsd/tools/tools/netrate/tcpconnect/
H A Dtcpconnect.c84 if (fcntl(s, F_SETFL, FIONBIO, &i) < 0) in try_connect()
/freebsd/tools/regression/sockets/listen_kqueue/
H A Dlisten_kqueue.c82 if (ioctl(sock, FIONBIO, &opt) == -1) in main()
/freebsd/tools/test/stress2/misc/
H A Dprocfs4.sh114 if (ioctl(fd, FIONBIO, &n) != -1)
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c509 ioctl(tin, FIONBIO, (char *)&onoff); in TerminalNewMode()
510 ioctl(tout, FIONBIO, (char *)&onoff); in TerminalNewMode()
631 ioctl(fd, FIONBIO, (char *)&onoff); in NetNonblockingIO()
/freebsd/contrib/telnet/telnet/
H A Dsys_bsd.c675 ioctl(tin, FIONBIO, (char *)&onoff); in TerminalNewMode()
676 ioctl(tout, FIONBIO, (char *)&onoff); in TerminalNewMode()
733 ioctl(fd, FIONBIO, (char *)&onoff); in NetNonblockingIO()
/freebsd/contrib/libedit/
H A Dread.c182 #ifdef FIONBIO in read__fixio()
186 if (ioctl(fd, FIONBIO, &zero) == -1) in read__fixio()
/freebsd/usr.sbin/bluetooth/btpand/
H A Dserver.c167 if (ioctl(fd, FIONBIO, &n) == -1) { in server_read()
H A Dchannel.c96 if (ioctl(fd, FIONBIO, &n) == -1) { in channel_open()
/freebsd/usr.sbin/ypbind/
H A Dyp_ping.c265 ioctl(sock, FIONBIO, &dontblock); in __yp_ping()
/freebsd/sys/kern/
H A Dsubr_log.c261 case FIONBIO: in logioctl()
H A Duipc_syscalls.c173 (void) fo_ioctl(fp, FIONBIO, &fflag, td->td_ucred, td); in kern_socket()
387 (void) fo_ioctl(nfp, FIONBIO, &tmp, td->td_ucred, td); in kern_accept4()
612 (void) fo_ioctl(fp1, FIONBIO, &fflag, td->td_ucred, td); in kern_socketpair()
613 (void) fo_ioctl(fp2, FIONBIO, &fflag, td->td_ucred, td); in kern_socketpair()
H A Dsys_eventfd.c315 case FIONBIO: in eventfd_ioctl()
/freebsd/sys/dev/random/
H A Drandomdev.c386 case FIONBIO: in randomdev_ioctl()
/freebsd/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c131 if (ioctl(fd, FIONBIO, &on) < 0) { in main()
/freebsd/usr.sbin/bhyve/
H A Dnet_backends.c117 if (ioctl(be->fd, FIONBIO, &opt) < 0) { in tap_init()
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.c933 ioctl(f, FIONBIO, (char *)&on); in my_telnet()
934 ioctl(p, FIONBIO, (char *)&on); in my_telnet()
/freebsd/contrib/ldns/
H A Dnet.c125 if(ioctlsocket(sockfd, FIONBIO, &on) != 0) { in ldns_sock_nonblock()
145 if(ioctlsocket(sockfd, FIONBIO, &off) != 0) { in ldns_sock_block()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.cpp143 unsigned IOCTL_FIONBIO = FIONBIO;
/freebsd/sys/dev/tcp_log/
H A Dtcp_log_dev.c386 case FIONBIO: in tcp_log_dev_ioctl()

123