/freebsd-10.3-release/contrib/ntp/lib/isc/win32/ |
H A D | unistd.h | 27 #define F_SETFL 0 macro
|
/freebsd-10.3-release/contrib/ntp/libntp/ |
H A D | socket.c | 146 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 D | iosignal.c | 155 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-10.3-release/tests/sys/file/ |
H A D | fcntlflags_test.c | 65 if (fcntl(fd, F_SETFL, flags1) == -1) 66 printf("not ok %d - fcntl(F_SETFL) same flags failed\n", 69 printf("ok %d - fcntl(F_SETFL) same flags succeeded\n", 78 printf("not ok %d - fcntl(F_SETFL) caused fcntl(F_GETFL) to " 81 if (fcntl(fd, F_SETFL, flags2 | O_NONBLOCK) == -1) 82 printf("not ok %d - fcntl(F_SETFL) O_NONBLOCK failed\n", 85 printf("ok %d - fcntl(F_SETFL) O_NONBLOCK succeeded\n", 94 printf("not ok %d - fcntl(F_SETFL) gave unexpected result "
|
/freebsd-10.3-release/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 272 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-10.3-release/tools/regression/capsicum/syscalls/ |
H A D | cap_fcntls_limit.c | 63 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == 0); 65 CHECK(fcntl(fd, F_SETFL, 0) == 0); 87 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == 0); 89 CHECK(fcntl(fd, F_SETFL, 0) == 0); 111 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == -1); 115 CHECK(fcntl(fd, F_SETFL, 0) == -1); 146 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == -1); 149 CHECK(fcntl(fd, F_SETFL, 0) == -1); 195 CHECK(fcntl(fd, F_SETFL, O_NONBLOCK) == -1); 198 CHECK(fcntl(fd, F_SETFL, [all...] |
/freebsd-10.3-release/lib/libkse/thread/ |
H A D | thr_fcntl.c | 64 case F_SETFL:
|
/freebsd-10.3-release/tools/regression/netinet/tcpfullwindowrst/ |
H A D | tcpfullwindowrsttest.c | 97 fcntl(t, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK); 98 fcntl(u, F_SETFL, fcntl(t, F_GETFL) | O_NONBLOCK);
|
/freebsd-10.3-release/contrib/gdb/gdb/ |
H A D | inflow.c | 235 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-10.3-release/tests/sys/kern/pipe/ |
H A D | big_pipe_test.c | 57 if (flags == -1 || fcntl(fd[1], F_SETFL, flags|O_NONBLOCK) == -1) {
|
/freebsd-10.3-release/tools/regression/netipx/spxabort/ |
H A D | spxabort.c | 83 if (fcntl(sock, F_SETFL, O_NONBLOCK) < 0) 84 err(-1, "fcntl(sock, F_SETFL, O_NONBLOCKING)");
|
/freebsd-10.3-release/contrib/netbsd-tests/net/net/ |
H A D | t_tcp.c | 118 ok = fcntl(srvr, F_SETFL, fl & ~O_NONBLOCK); 134 ok = fcntl(as, F_SETFL, fl & ~O_NONBLOCK);
|
/freebsd-10.3-release/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 175 fcntl(*child_stdin, F_SETFL, O_NONBLOCK); 177 fcntl(*child_stdout, F_SETFL, O_NONBLOCK);
|
H A D | archive_write_add_filter_program.c | 276 fcntl(data->child_stdout, F_SETFL, 0); 283 fcntl(data->child_stdin, F_SETFL, 0); 298 fcntl(data->child_stdin, F_SETFL, 0); 362 fcntl(data->child_stdout, F_SETFL, 0);
|
/freebsd-10.3-release/tools/regression/sockets/accept_fd_leak/ |
H A D | accept_fd_leak.c | 114 if (fcntl(s, F_SETFL, i) != 0) 115 errx(-1, "ioctl(F_SETFL): %s", strerror(errno)); 181 if (fcntl(s, F_SETFL, i) != 0) 182 errx(-1, "ioctl(F_SETFL): %s", strerror(errno));
|
/freebsd-10.3-release/usr.sbin/bhyve/ |
H A D | dbgport.c | 78 fcntl(conn_fd, F_SETFL, O_NONBLOCK);
|
/freebsd-10.3-release/tools/tools/netrate/tcpconnect/ |
H A D | tcpconnect.c | 86 if (fcntl(s, F_SETFL, FIONBIO, &i) < 0)
|
/freebsd-10.3-release/tools/regression/netipx/ipxdgramloopback/ |
H A D | ipxdgramloopback.c | 75 if (fcntl(sock_recv, F_SETFL, O_NONBLOCK) < 0)
|
/freebsd-10.3-release/tools/regression/sockets/listenclose/ |
H A D | listenclose.c | 95 if (fcntl(connect_sock, F_SETFL, &arg) < 0)
|
/freebsd-10.3-release/contrib/ipfilter/samples/ |
H A D | 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);
|
/freebsd-10.3-release/contrib/xz/src/xz/ |
H A D | file_io.c | 93 if (flags == -1 || fcntl(user_abort_pipe[i], F_SETFL, 416 && fcntl(STDIN_FILENO, F_SETFL, 670 if (fcntl(STDIN_FILENO, F_SETFL, stdin_flags) == -1) 727 && fcntl(STDOUT_FILENO, F_SETFL, 844 if (fcntl(STDOUT_FILENO, F_SETFL, flags) == -1) 897 if (fcntl(STDOUT_FILENO, F_SETFL, stdout_flags) == -1) {
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/librumpclient/ |
H A D | t_fd.c | 121 RL(rump_sys_fcntl(ls, F_SETFL, fl | O_ASYNC));
|
/freebsd-10.3-release/contrib/pf/libevent/ |
H A D | signal.c | 103 fcntl(ev_signal_pair[0], F_SETFL, O_NONBLOCK);
|
/freebsd-10.3-release/usr.bin/wall/ |
H A D | ttymsg.c | 146 (void) fcntl(fd, F_SETFL, 0); /* clear O_NONBLOCK */
|
/freebsd-10.3-release/tools/regression/netinet/tcpconnect/ |
H A D | tcpconnect.c | 140 if (fcntl(sock, F_SETFL, O_NONBLOCK) != 0) 141 err(-1, "fcntl(F_SETFL)");
|