Symbol: F_SETFL
bin/csh/lex.c
1457
(void) fcntl(SHIN, F_SETFL, (flags & ~O_NONBLOCK));
bin/ksh/misc.c
1120
if (fcntl(fd, F_SETFL, flags) == -1)
lib/libc/sys/w_fcntl.c
34
case F_SETFL:
lib/libcrypto/bio/b_posix.c
88
return (fcntl(s, F_SETFL, flags | O_NONBLOCK) != -1);
lib/libcrypto/bio/b_posix.c
90
return (fcntl(s, F_SETFL, flags & ~O_NONBLOCK) != -1);
lib/libedit/readline.c
2090
#elif defined(F_SETFL) && defined(O_NDELAY)
lib/libedit/readline.c
2093
if (fcntl(el->el_infd, F_SETFL, n|O_NDELAY) == -1)
lib/libedit/readline.c
2096
if (fcntl(el->el_infd, F_SETFL, n))
lib/libevent/evutil.c
61
if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) == -1) {
lib/libpcap/pcap.c
467
if (fcntl(p->fd, F_SETFL, fdflags) == -1) {
lib/libsndio/aucat.c
544
if (fcntl(hdl->fd, F_SETFL, nbio ? O_NONBLOCK : 0) == -1) {
lib/libz/gzlib.c
256
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
regress/lib/libc/sys/t_mmap.c
128
if (fcntl(fds[0], F_SETFL, O_NONBLOCK) != 0)
regress/lib/libc/sys/t_stat.c
345
ATF_REQUIRE(fcntl(fd, F_SETFL, flags | O_NONBLOCK) != -1);
regress/lib/libevent/event_regress.c
283
if (fcntl(pair[0], F_SETFL, O_NONBLOCK) == -1)
regress/lib/libevent/event_regress.c
286
if (fcntl(pair[1], F_SETFL, O_NONBLOCK) == -1)
regress/lib/libpthread/fork/fork.c
75
/*CHECKe*/(fcntl(STDOUT_FILENO, F_SETFL,
regress/lib/libpthread/poll/poll.c
107
CHECKe(fcntl(tube[0], F_SETFL, O_NONBLOCK));
regress/lib/libpthread/poll/poll.c
108
CHECKe(fcntl(tube[1], F_SETFL, O_NONBLOCK));
regress/lib/libpthread/select/select.c
89
CHECKr(fcntl(fd, F_SETFL, flags | O_NONBLOCK));
regress/lib/libpthread/socket/3/socket3.c
99
CHECKr(fcntl(listen_fd, F_SETFL, flags |= O_NONBLOCK));
regress/lib/libpthread/stdfiles/stdfiles.c
44
assert(fcntl(STDIN_FILENO, F_SETFL, new_flags) != -1);
regress/lib/libpthread/stdfiles/stdfiles.c
91
assert(fcntl(STDERR_FILENO, F_SETFL, stdin_flags) != -1);
regress/lib/libpthread/stdfiles/stdfiles.c
96
assert(fcntl(STDIN_FILENO, F_SETFL, stdin_flags) != -1);
regress/sys/kern/kqueue/kqueue-pipe.c
56
ASS(fcntl(fd[1], F_SETFL, O_NONBLOCK) == 0,
regress/sys/kern/kqueue/kqueue-pty.c
74
if (fcntl(massa, F_SETFL, O_NONBLOCK) < 0)
regress/sys/kern/kqueue/kqueue-pty.c
76
if (fcntl(slave, F_SETFL, O_NONBLOCK) < 0)
regress/sys/kern/kqueue/kqueue-random.c
29
ASS(fcntl(fd, F_SETFL, O_NONBLOCK) == 0,
regress/sys/kern/pwrite/pwrite.c
69
if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_APPEND))
regress/sys/kern/pwritev/pwritev.c
76
if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_APPEND))
regress/sys/kern/signal/sigio/sigio_common.c
105
assert(fcntl(fds[0], F_SETFL, flags | O_ASYNC) == 0);
regress/sys/kern/signal/sigio/sigio_common.c
199
assert(fcntl(fds[0], F_SETFL, flags | O_ASYNC) == 0);
regress/sys/kern/signal/sigio/sigio_common.c
229
assert(fcntl(fds[0], F_SETFL, flags | O_ASYNC | O_NONBLOCK) == 0);
regress/sys/kern/signal/sigio/sigio_common.c
231
assert(fcntl(fds[1], F_SETFL, flags | O_NONBLOCK) == 0);
regress/sys/kern/signal/sigio/sigio_socket.c
89
assert(fcntl(sock, F_SETFL, flags | O_ASYNC) == 0);
regress/sys/kern/xonly/xonly.c
216
fcntl(p[0], F_SETFL, O_NONBLOCK);
regress/usr.sbin/syslogd/ttylog.c
110
if (fcntl(0, F_SETFL, O_ASYNC) == -1)
regress/usr.sbin/syslogd/ttylog.c
221
if (fcntl(mfd, F_SETFL, O_NONBLOCK) == -1)
sbin/unwind/libunbound/util/net_help.c
148
if(fcntl(s, F_SETFL, flag) == -1) {
sbin/unwind/libunbound/util/net_help.c
172
if(fcntl(s, F_SETFL, flag) == -1) {
sys/kern/kern_descrip.c
489
case F_SETFL:
usr.bin/cu/cu.c
259
if (fcntl(fd, F_SETFL, mode) == -1)
usr.bin/dig/lib/isc/unix/socket.c
371
ret = fcntl(fd, F_SETFL, flags);
usr.bin/ftp/util.c
1102
if (fcntl(s, F_SETFL, flags | O_NONBLOCK) == -1) {
usr.bin/ftp/util.c
1146
if (fcntl(s, F_SETFL, flags) == -1) {
usr.bin/mg/region.c
595
fcntl(fd, F_SETFL, O_NONBLOCK);
usr.bin/rdist/child.c
440
return (fcntl(fd, F_SETFL, flags | O_NONBLOCK));
usr.bin/rsync/server.c
36
else if (fcntl(fd, F_SETFL, fl|O_NONBLOCK) == -1)
usr.bin/sndiod/listen.c
269
if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1) {
usr.bin/ssh/channels.c
575
(void)fcntl(*fdp, F_SETFL, c->restore_flags[0]);
usr.bin/ssh/channels.c
578
(void)fcntl(*fdp, F_SETFL, c->restore_flags[1]);
usr.bin/ssh/channels.c
581
(void)fcntl(*fdp, F_SETFL, c->restore_flags[2]);
usr.bin/ssh/misc.c
161
if (fcntl(fd, F_SETFL, val) == -1) {
usr.bin/ssh/misc.c
185
if (fcntl(fd, F_SETFL, val) == -1) {
usr.bin/tcpbench/tcpbench.c
942
if (fcntl(sock, F_SETFL, r) == -1)
usr.bin/tmux/tmux.c
270
fcntl(fd, F_SETFL, mode);
usr.sbin/ftp-proxy/ftp-proxy.c
481
fcntl(s->server_fd, F_SETFL, fc | O_NONBLOCK) == -1) {
usr.sbin/iscsid/util.c
120
if ((flags = fcntl(fd, F_SETFL, flags)) == -1)
usr.sbin/ldapd/btree.c
1089
if (fcntl(fd, F_SETFL, fl | O_APPEND) == -1)
usr.sbin/npppd/npppd/npppd_subr.c
239
if (fcntl(sock, F_SETFL, flags | O_NONBLOCK) < 0) {
usr.sbin/npppd/pptp/pptp_ctrl.c
188
} else if (fcntl(_this->sock, F_SETFL, ival | O_NONBLOCK) < 0) {
usr.sbin/npppd/pptp/pptpd.c
364
} else if (fcntl(sock_gre, F_SETFL, ival | O_NONBLOCK) < 0) {
usr.sbin/nsd/dnstap/dnstap_collector.c
104
if(fcntl(sv[0], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/dnstap/dnstap_collector.c
107
if(fcntl(sv[1], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/dnstap/dnstap_collector.c
77
if (fcntl(sv[0], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/dnstap/dnstap_collector.c
81
if (fcntl(sv[1], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/metrics.c
147
if (fcntl(s, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/nsd-control.c
321
if(fcntl(fd, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/nsd-control.c
365
if(fcntl(fd, F_SETFL, 0) == -1) {
usr.sbin/nsd/remote.c
2792
if (fcntl(s->c.ev_fd, F_SETFL, 0) == -1) { /* set blocking */
usr.sbin/nsd/remote.c
3424
if (fcntl(s, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/remote.c
411
if (fcntl(s, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/remote.c
623
if (fcntl(newfd, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/server.c
1776
if (fcntl(sockets[1], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/server.c
1810
if (fcntl(sockets[0], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/server.c
4305
if(fcntl(fd, F_SETFL, flag) == -1)
usr.sbin/nsd/server.c
4310
if(fcntl(fd, F_SETFL, flag) == -1)
usr.sbin/nsd/server.c
481
if (fcntl(nsd->children[i].child_fd, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/server.c
530
if (fcntl(nsd->this_child->parent_fd, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/server.c
5511
if (fcntl(s, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/server.c
977
if(fcntl(sock->s, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/nsd/verify.c
476
if (fcntl(fderr, F_SETFL, flags | O_NONBLOCK) == -1) {
usr.sbin/nsd/verify.c
483
if(fcntl(fdout, F_SETFL, flags | O_NONBLOCK) == -1) {
usr.sbin/nsd/xfrd-tcp.c
952
if(fcntl(fd, F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/ntpd/control.c
310
if ((flags = fcntl(fd, F_SETFL, flags)) == -1)
usr.sbin/pppd/chat/chat.c
1125
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
usr.sbin/pppd/chat/chat.c
1152
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
usr.sbin/pppd/chat/chat.c
459
if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1)
usr.sbin/pppd/chat/chat.c
473
if (fcntl(0, F_SETFL, flags & ~O_NONBLOCK) == -1)
usr.sbin/pppd/main.c
446
|| fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
usr.sbin/pppd/sys-bsd.c
305
|| fcntl(fd, F_SETFL, initfdflags | O_NONBLOCK) == -1) {
usr.sbin/pppd/sys-bsd.c
354
if (initfdflags != -1 && fcntl(fd, F_SETFL, initfdflags) == -1)
usr.sbin/pppd/sys-bsd.c
533
if (fcntl(loop_master, F_SETFL, flags | O_NONBLOCK) == -1)
usr.sbin/radiusd/radiusd.c
1195
if (fcntl(module->fd, F_SETFL, ival | O_NONBLOCK) == -1) {
usr.sbin/radiusd/radiusd_module.c
126
if (fcntl(base->ibuf.fd, F_SETFL, ival | O_NONBLOCK) == -1)
usr.sbin/smtpd/ioev.c
154
if (fcntl(fd, F_SETFL, flags) == -1)
usr.sbin/snmpd/snmpe.c
159
if (fcntl(s, F_SETFL, O_NONBLOCK) == -1)
usr.sbin/syslogd/privsep.c
491
if ((flags = fcntl(fd[1], F_SETFL, flags)) == -1) {
usr.sbin/syslogd/syslogd.c
2972
fcntl(f->f_file, F_SETFL, i);
usr.sbin/unbound/util/net_help.c
148
if(fcntl(s, F_SETFL, flag) == -1) {
usr.sbin/unbound/util/net_help.c
172
if(fcntl(s, F_SETFL, flag) == -1) {
usr.sbin/vmd/vm.c
216
if (fcntl(con_fd, F_SETFL, O_NONBLOCK) == -1) {