| /NextBSD/tools/regression/capsicum/syscalls/ |
| HD | cap_fcntls_limit.c | 63 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == 0); in fcntl_tests_0() 65 CHECK(fcntl(fd, F_SETFL, 0) == 0); in fcntl_tests_0() 87 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == 0); in fcntl_tests_0() 89 CHECK(fcntl(fd, F_SETFL, 0) == 0); in fcntl_tests_0() 111 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == -1); in fcntl_tests_0() 115 CHECK(fcntl(fd, F_SETFL, 0) == -1); in fcntl_tests_0() 146 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == -1); in fcntl_tests_0() 149 CHECK(fcntl(fd, F_SETFL, 0) == -1); in fcntl_tests_0() 195 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == -1); in fcntl_tests_1() 198 CHECK(fcntl(fd, F_SETFL, 0) == -1); in fcntl_tests_1() [all …]
|
| /NextBSD/tools/regression/sockets/kqueue/ |
| HD | kqueue.c | 272 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()
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | inflow.c | 236 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()
|
| /NextBSD/contrib/ntp/libntp/ |
| HD | socket.c | 146 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()
|
| HD | iosignal.c | 155 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()
|
| /NextBSD/tests/sys/file/ |
| HD | fcntlflags_test.c | 65 if (fcntl(fd, F_SETFL, flags1) == -1) in subtests() 81 if (fcntl(fd, F_SETFL, flags2 | O_NONBLOCK) == -1) in subtests()
|
| /NextBSD/contrib/ipfilter/samples/ |
| HD | relay.c | 182 (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);
|
| /NextBSD/tools/regression/netinet/tcpfullwindowrst/ |
| HD | tcpfullwindowrsttest.c | 97 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()
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_write_add_filter_program.c | 276 fcntl(data->child_stdout, F_SETFL, 0); in child_write() 283 fcntl(data->child_stdin, F_SETFL, 0); in child_write() 298 fcntl(data->child_stdin, F_SETFL, 0); in child_write() 362 fcntl(data->child_stdout, F_SETFL, 0); in __archive_write_program_close()
|
| HD | filter_fork_posix.c | 175 fcntl(*child_stdin, F_SETFL, O_NONBLOCK); in __archive_create_child() 177 fcntl(*child_stdout, F_SETFL, O_NONBLOCK); in __archive_create_child()
|
| /NextBSD/contrib/xz/src/xz/ |
| HD | file_io.c | 93 if (flags == -1 || fcntl(user_abort_pipe[i], F_SETFL, in io_init() 416 && fcntl(STDIN_FILENO, F_SETFL, in io_open_src_real() 670 if (fcntl(STDIN_FILENO, F_SETFL, stdin_flags) == -1) in io_close_src() 727 && fcntl(STDOUT_FILENO, F_SETFL, in io_open_dest_real() 844 if (fcntl(STDOUT_FILENO, F_SETFL, flags) == -1) in io_open_dest_real() 897 if (fcntl(STDOUT_FILENO, F_SETFL, stdout_flags) == -1) { in io_close_dest()
|
| /NextBSD/contrib/netbsd-tests/net/net/ |
| HD | t_tcp.c | 118 ok = fcntl(srvr, F_SETFL, fl & ~O_NONBLOCK); in paccept_block() 134 ok = fcntl(as, F_SETFL, fl & ~O_NONBLOCK); in paccept_block()
|
| /NextBSD/usr.sbin/ppp/ |
| HD | prompt.c | 426 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()
|
| /NextBSD/tools/regression/sockets/accept_fd_leak/ |
| HD | accept_fd_leak.c | 114 if (fcntl(s, F_SETFL, i) != 0) in main() 181 if (fcntl(s, F_SETFL, i) != 0) in main()
|
| /NextBSD/contrib/ntp/lib/isc/win32/ |
| HD | unistd.h | 27 #define F_SETFL 0 macro
|
| /NextBSD/contrib/apr/file_io/unix/ |
| HD | pipe.c | 52 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) { in pipeblock() 87 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) { in pipenonblock()
|
| /NextBSD/tools/tools/netrate/tcpp/ |
| HD | tcpp_server.c | 89 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()
|
| /NextBSD/bin/sh/ |
| HD | redir.c | 270 if (flags != -1 && fcntl(pip[1], F_SETFL, flags | O_NONBLOCK) != -1) { in openhere() 276 fcntl(pip[1], F_SETFL, flags); in openhere()
|
| /NextBSD/contrib/wpa/src/wps/ |
| HD | http_server.c | 255 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init() 281 fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0 || in http_server_init()
|
| /NextBSD/tests/sys/kern/pipe/ |
| HD | big_pipe_test.c | 57 if (flags == -1 || fcntl(fd[1], F_SETFL, flags|O_NONBLOCK) == -1) { in main()
|
| /NextBSD/tools/tools/netrate/tcpconnect/ |
| HD | tcpconnect.c | 86 if (fcntl(s, F_SETFL, FIONBIO, &i) < 0) in try_connect()
|
| /NextBSD/contrib/libreadline/ |
| HD | input.c | 213 fcntl (tty, F_SETFL, (tem | O_NDELAY)); in rl_gather_tyi() 216 fcntl (tty, F_SETFL, tem); in rl_gather_tyi()
|
| /NextBSD/tools/regression/sockets/listenclose/ |
| HD | listenclose.c | 95 if (fcntl(connect_sock, F_SETFL, &arg) < 0) in main()
|
| /NextBSD/usr.sbin/asl/ |
| HD | klog_in.c | 105 if (fcntl(kfd, F_SETFL, O_NONBLOCK) < 0) in klog_in_init()
|
| /NextBSD/usr.sbin/bhyve/ |
| HD | dbgport.c | 78 fcntl(conn_fd, F_SETFL, O_NONBLOCK); in dbg_handler()
|