Home
last modified time | relevance | path

Searched refs:F_SETFL (Results 1 – 25 of 134) sorted by relevance

123456

/freebsd-9-stable/tools/regression/sockets/kqueue/
Dkqueue.c272 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0) in main()
275 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0) in main()
302 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0) in main()
304 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0) in main()
323 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0) in main()
326 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0) in main()
347 if (fcntl(sv[0], F_SETFL, O_NONBLOCK) != 0) in main()
350 if (fcntl(sv[1], F_SETFL, O_NONBLOCK) != 0) in main()
/freebsd-9-stable/contrib/gdb/gdb/
Dinflow.c236 result = fcntl (0, F_SETFL, tflags_inferior); in terminal_inferior()
237 result = fcntl (0, F_SETFL, tflags_inferior); in terminal_inferior()
409 result = fcntl (0, F_SETFL, tflags_ours); in terminal_ours_1()
410 result = fcntl (0, F_SETFL, tflags_ours); in terminal_ours_1()
667 fcntl (target_activity_fd, F_SETFL, old_fcntl_flags | FASYNC); in set_sigio_trap()
677 fcntl (target_activity_fd, F_SETFL, old_fcntl_flags); in clear_sigio_trap()
/freebsd-9-stable/contrib/ntp/libntp/
Dsocket.c146 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) { in make_socket_nonblocking()
152 if (fcntl(fd, F_SETFL, FNDELAY) < 0) { in make_socket_nonblocking()
158 if (fcntl(fd, F_SETFL, O_NDELAY) < 0) { in make_socket_nonblocking()
Diosignal.c155 if (fcntl(rio->fd, F_SETFL, FNDELAY|FASYNC) < 0) in init_clock_sig()
189 if (fcntl(rio->fd, F_SETFL, FNDELAY|FASYNC) < 0) in init_clock_sig()
241 if (fcntl(fd, F_SETFL, flags|FASYNC) < 0) in init_socket_sig()
/freebsd-9-stable/contrib/libarchive/libarchive/
Darchive_write_set_compression_program.c179 fcntl(state->child_stdout, F_SETFL, 0); in child_write()
186 fcntl(state->child_stdin, F_SETFL, 0); in child_write()
200 fcntl(state->child_stdin, F_SETFL, 0); in child_write()
284 fcntl(state->child_stdout, F_SETFL, 0); in archive_compressor_program_finish()
Dfilter_fork.c104 fcntl(*child_stdin, F_SETFL, O_NONBLOCK);
106 fcntl(*child_stdout, F_SETFL, O_NONBLOCK);
Darchive_read_support_compression_program.c325 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
346 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
/freebsd-9-stable/contrib/ipfilter/samples/
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-stable/tools/regression/netinet/tcpfullwindowrst/
Dtcpfullwindowrsttest.c97 fcntl(t, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK); in main()
98 fcntl(u, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK); in main()
/freebsd-9-stable/tools/regression/sockets/accept_fd_leak/
Daccept_fd_leak.c100 if (fcntl(s, F_SETFL, i) != 0) in main()
163 if (fcntl(s, F_SETFL, i) != 0) in main()
/freebsd-9-stable/usr.sbin/ppp/
Dprompt.c426 fcntl(fd, F_SETFL, stat); in prompt_TtyInit()
465 fcntl(p->fd_in, F_SETFL, stat); in prompt_TtyCommandMode()
485 fcntl(p->fd_in, F_SETFL, stat); in prompt_TtyTermMode()
498 fcntl(p->fd_in, F_SETFL, stat); in prompt_TtyOldMode()
/freebsd-9-stable/contrib/ntp/lib/isc/win32/
Dunistd.h27 #define F_SETFL 0 macro
/freebsd-9-stable/contrib/sendmail/libsm/
Dlocal.h170 if (ret == -1 || fcntl((fd), F_SETFL, \
186 if (ret == -1 || fcntl((fd), F_SETFL, \
/freebsd-9-stable/lib/libkse/thread/
Dthr_fcntl.c64 case F_SETFL: in __fcntl()
/freebsd-9-stable/tools/tools/netrate/tcpp/
Dtcpp_server.c89 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) in tcpp_server_newconn()
254 if (fcntl(listen_sock, F_SETFL, O_NONBLOCK) < 0) in tcpp_server_worker()
/freebsd-9-stable/tools/regression/netipx/spxabort/
Dspxabort.c83 if (fcntl(sock, F_SETFL, O_NONBLOCK) < 0) in main()
/freebsd-9-stable/contrib/wpa/src/wps/
Dhttp_server.c251 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
278 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
/freebsd-9-stable/tools/regression/pipe/
Dbigpipetest.c56 if (flags == -1 || fcntl(fd[1], F_SETFL, flags|O_NONBLOCK) == -1) { in main()
/freebsd-9-stable/tools/tools/netrate/tcpconnect/
Dtcpconnect.c86 if (fcntl(s, F_SETFL, FIONBIO, &i) < 0) in try_connect()
/freebsd-9-stable/contrib/libreadline/
Dinput.c213 fcntl (tty, F_SETFL, (tem | O_NDELAY)); in rl_gather_tyi()
216 fcntl (tty, F_SETFL, tem); in rl_gather_tyi()
/freebsd-9-stable/tools/regression/sockets/listenclose/
Dlistenclose.c95 if (fcntl(connect_sock, F_SETFL, &arg) < 0) in main()
/freebsd-9-stable/tools/regression/netipx/ipxdgramloopback/
Dipxdgramloopback.c75 if (fcntl(sock_recv, F_SETFL, O_NONBLOCK) < 0) in main()
/freebsd-9-stable/sbin/hastd/
Dproto_tcp.c309 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) { in tcp_connect()
332 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) { in tcp_connect()
397 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) { in tcp_connect_wait()
/freebsd-9-stable/contrib/xz/src/xz/
Dfile_io.c441 if (fcntl(pair->src_fd, F_SETFL, flags) == -1) in io_open_src_real()
656 if (fcntl(STDOUT_FILENO, F_SETFL, in io_open_dest_real()
710 if (fcntl(STDOUT_FILENO, F_SETFL, stdout_flags) == -1) { in io_close_dest()
/freebsd-9-stable/sys/compat/svr4/
Dsvr4_fcntl.c90 return F_SETFL;
610 case F_SETFL:
626 return (kern_fcntl(td, uap->fd, F_SETFL, flags));

123456