Searched refs:F_SETFL (Results 1 - 25 of 124) sorted by relevance

12345

/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dunistd.h27 #define F_SETFL 0 macro
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dsocket.c146 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
152 if (fcntl(fd, F_SETFL, FNDELAY) < 0) {
158 if (fcntl(fd, F_SETFL, O_NDELAY) < 0) {
H A Diosignal.c155 if (fcntl(rio->fd, F_SETFL, FNDELAY|FASYNC) < 0)
189 if (fcntl(rio->fd, F_SETFL, FNDELAY|FASYNC) < 0)
241 if (fcntl(fd, F_SETFL, flags|FASYNC) < 0)
/freebsd-9.3-release/tools/regression/sockets/kqueue/
H A Dkqueue.c272 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0)
275 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0)
302 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0)
304 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0)
323 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0)
326 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0)
347 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0)
350 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0)
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_fcntl.c64 case F_SETFL:
/freebsd-9.3-release/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c97 fcntl(t, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK);
98 fcntl(u, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK);
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dinflow.c235 places we use F_SETFL, so I'm inclined to think perhaps there
237 result = fcntl (0, F_SETFL, tflags_inferior);
238 result = fcntl (0, F_SETFL, tflags_inferior);
239 OOPSY ("fcntl F_SETFL");
408 places we use F_SETFL, so I'm inclined to think perhaps there
410 result = fcntl (0, F_SETFL, tflags_ours);
411 result = fcntl (0, F_SETFL, tflags_ours);
672 fcntl (target_activity_fd, F_SETFL, old_fcntl_flags | FASYNC);
682 fcntl (target_activity_fd, F_SETFL, old_fcntl_flags);
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Dfilter_fork.c104 fcntl(*child_stdin, F_SETFL, O_NONBLOCK);
106 fcntl(*child_stdout, F_SETFL, O_NONBLOCK);
H A Darchive_write_set_compression_program.c179 fcntl(state->child_stdout, F_SETFL, 0);
186 fcntl(state->child_stdin, F_SETFL, 0);
200 fcntl(state->child_stdin, F_SETFL, 0);
284 fcntl(state->child_stdout, F_SETFL, 0);
/freebsd-9.3-release/tools/regression/netipx/spxabort/
H A Dspxabort.c83 if (fcntl(sock, F_SETFL, O_NONBLOCK) < 0)
84 err(-1, "fcntl(sock, F_SETFL, O_NONBLOCKING)");
/freebsd-9.3-release/tools/regression/pipe/
H A Dbigpipetest.c56 if (flags == -1 || fcntl(fd[1], F_SETFL, flags|O_NONBLOCK) == -1) {
/freebsd-9.3-release/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c100 if (fcntl(s, F_SETFL, i) != 0)
101 errx(-1, "ioctl(F_SETFL): %s", strerror(errno));
163 if (fcntl(s, F_SETFL, i) != 0)
164 errx(-1, "ioctl(F_SETFL): %s", strerror(errno));
/freebsd-9.3-release/tools/regression/netipx/ipxdgramloopback/
H A Dipxdgramloopback.c75 if (fcntl(sock_recv, F_SETFL, O_NONBLOCK) < 0)
/freebsd-9.3-release/tools/regression/sockets/listenclose/
H A Dlistenclose.c95 if (fcntl(connect_sock, F_SETFL, &arg) < 0)
/freebsd-9.3-release/tools/tools/netrate/tcpconnect/
H A Dtcpconnect.c86 if (fcntl(s, F_SETFL, FIONBIO, &i) < 0)
/freebsd-9.3-release/contrib/ipfilter/samples/
H A Drelay.c182 (void) ioctl(fd, F_SETFL, ioctl(fd, F_GETFL, 0)|O_NONBLOCK);
183 (void) ioctl(0, F_SETFL, ioctl(fd, F_GETFL, 0)|O_NONBLOCK);
184 (void) ioctl(1, F_SETFL, ioctl(fd, F_GETFL, 0)|O_NONBLOCK);
/freebsd-9.3-release/contrib/pf/libevent/
H A Dsignal.c103 fcntl(ev_signal_pair[0], F_SETFL, O_NONBLOCK);
/freebsd-9.3-release/tools/regression/netinet/tcpconnect/
H A Dtcpconnect.c140 if (fcntl(sock, F_SETFL, O_NONBLOCK) != 0)
141 err(-1, "fcntl(F_SETFL)");
/freebsd-9.3-release/tools/regression/netinet/udpzerobyte/
H A Dudpzerobyte.c74 if (fcntl(sock_receive, F_SETFL, O_NONBLOCK, 1) < 0)
/freebsd-9.3-release/usr.bin/wall/
H A Dttymsg.c146 (void) fcntl(fd, F_SETFL, 0); /* clear O_NONBLOCK */
/freebsd-9.3-release/usr.sbin/ppp/
H A Dprompt.c426 fcntl(fd, F_SETFL, stat);
465 fcntl(p->fd_in, F_SETFL, stat);
485 fcntl(p->fd_in, F_SETFL, stat);
498 fcntl(p->fd_in, F_SETFL, stat);
/freebsd-9.3-release/crypto/openssl/demos/tunala/
H A Dip.c62 (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0))
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dlocal.h169 if (ret == -1 || fcntl((fd), F_SETFL, \
185 if (ret == -1 || fcntl((fd), F_SETFL, \
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dhttp_server.c251 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0)
278 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0)
/freebsd-9.3-release/tools/tools/netrate/tcpp/
H A Dtcpp_server.c89 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0)
254 if (fcntl(listen_sock, F_SETFL, O_NONBLOCK) < 0)

Completed in 110 milliseconds

12345