Symbol: F_SETFL
bin/sh/input.c
173
if (fcntl(0, F_SETFL, flags) >= 0) {
bin/sh/redir.c
286
if (flags != -1 && fcntl(pip[1], F_SETFL, flags | O_NONBLOCK) != -1) {
bin/sh/redir.c
292
fcntl(pip[1], F_SETFL, flags);
bin/sh/show.c
406
fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND);
crypto/libressl/crypto/bio/b_posix.c
86
return (fcntl(s, F_SETFL, flags | O_NONBLOCK) != -1);
crypto/libressl/crypto/bio/b_posix.c
88
return (fcntl(s, F_SETFL, flags & ~O_NONBLOCK) != -1);
crypto/openssh/channels.c
554
(void)fcntl(*fdp, F_SETFL, c->restore_flags[0]);
crypto/openssh/channels.c
557
(void)fcntl(*fdp, F_SETFL, c->restore_flags[1]);
crypto/openssh/channels.c
560
(void)fcntl(*fdp, F_SETFL, c->restore_flags[2]);
crypto/openssh/misc.c
127
if (fcntl(fd, F_SETFL, val) == -1) {
crypto/openssh/misc.c
151
if (fcntl(fd, F_SETFL, val) == -1) {
games/hunt/huntd/answer.c
117
fcntl(newsock, F_SETFL, flags);
games/hunt/huntd/driver.c
1024
fcntl(s, F_SETFL, flags);
games/morse/morse.c
435
fcntl(line, F_SETFL, &lflags);
lib/libc/gen/posixshm.c
89
_fcntl(fd, F_SETFL, (int)FPOSIXSHM) != 0) {
lib/libc/net/nscachedcli.c
216
_fcntl(client_socket, F_SETFL, O_NONBLOCK);
lib/libc/rpc/svc_vc.c
342
if (_fcntl(sock, F_SETFL, flags | O_NONBLOCK) == -1)
lib/libc/stdio/freopen.c
102
if (_fcntl(fp->pub._fileno, F_SETFL, dflags) < 0) {
lib/libc/sysvipc/sockets.c
114
fcntl(sock, F_SETFL, flags & ~O_NONBLOCK);
lib/libc/sysvipc/sockets.c
97
fcntl(fd, F_SETFL, flags & ~O_NONBLOCK);
lib/libdmsg/msg.c
145
fcntl(iocom->wakeupfds[0], F_SETFL, O_NONBLOCK);
lib/libdmsg/msg.c
146
fcntl(iocom->wakeupfds[1], F_SETFL, O_NONBLOCK);
lib/libdmsg/msg.c
163
fcntl(sock_fd, F_SETFL, O_NONBLOCK);
lib/libdmsg/msg.c
167
fcntl(alt_fd, F_SETFL, O_NONBLOCK);
lib/libthread_xu/thread/thr_syscalls.c
264
case F_SETFL:
lib/libusb/libusb10.c
109
fcntl(f, F_SETFL, flags);
libexec/ftpd/ftpd.c
1893
fcntl(pdata, F_SETFL, flags | O_NONBLOCK) == -1)
libexec/ftpd/ftpd.c
1905
fcntl(pdata, F_SETFL, flags & ~O_NONBLOCK) == -1)
sbin/devd/devd.cc
841
if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0)
sbin/hammer2/cmd_debug.c
105
fcntl(0, F_SETFL, O_NONBLOCK);
sbin/routed/main.c
282
if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1)
sbin/routed/main.c
576
if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1)
sbin/slattach/slattach.c
287
if (fcntl(fd, F_SETFL, oflags & ~O_NONBLOCK) == -1) {
sbin/udevd/udevd_socket.c
115
ret = fcntl(s, F_SETFL, flags | O_NONBLOCK);
sbin/udevd/udevd_socket.c
125
ret = fcntl(s, F_SETFL, flags & ~O_NONBLOCK);
sys/kern/kern_descrip.c
788
case F_SETFL:
sys/kern/kern_descrip.c
964
case F_SETFL:
sys/platform/vkernel64/platform/init.c
1147
fcntl(net_fd, F_SETFL, O_NONBLOCK);
sys/platform/vkernel64/platform/kqueue.c
86
if (fcntl(KQueueFd, F_SETFL, O_ASYNC) < 0)
test/debug/fdpassing.c
34
fcntl(fds[0], F_SETFL, 0);
test/debug/fdpassing.c
35
fcntl(fds[1], F_SETFL, 0);
test/stress/fsstress/fsstress.c
1709
if (fcntl(fd, F_SETFL, flags|O_DIRECT) < 0) {
usr.bin/chat/chat.c
1039
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
usr.bin/chat/chat.c
1067
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
usr.bin/chat/chat.c
446
if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1)
usr.bin/dsynth/build.c
2611
fcntl(MasterPtyFd, F_SETFL, O_NONBLOCK);
usr.bin/vknet/vknet.c
336
fcntl(tap_fd, F_SETFL, 0);
usr.bin/wall/ttymsg.c
142
(void) fcntl(fd, F_SETFL, 0); /* clear O_NONBLOCK */
usr.sbin/dconschat/dconschat.c
587
fcntl(ns, F_SETFL, flags);
usr.sbin/dntpd/socket.c
71
if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) {
usr.sbin/ftp-proxy/ftp-proxy.c
508
fcntl(s->server_fd, F_SETFL, fc | O_NONBLOCK) == -1) {
usr.sbin/lpr/lpd/lpd.c
279
fcntl(lfd, F_SETFL, 0); /* turn off non-blocking mode */
usr.sbin/lpr/lpd/printjob.c
194
if (fcntl(lfd, F_SETFL, 0) < 0) {
usr.sbin/nscd/nscd.c
198
fcntl(retval->sockfd, F_SETFL, O_NONBLOCK);
usr.sbin/nscd/nscdcli.c
201
fcntl(client_socket, F_SETFL, O_NONBLOCK);
usr.sbin/ppp/exec.c
125
fcntl(fids[0], F_SETFL, stat);
usr.sbin/ppp/prompt.c
424
fcntl(fd, F_SETFL, stat);
usr.sbin/ppp/prompt.c
463
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/prompt.c
483
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/prompt.c
496
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/tty.c
476
fcntl(p->fd, F_SETFL, oldflag | O_NONBLOCK);
usr.sbin/ppp/tty.c
519
fcntl(p->fd, F_SETFL, oldflag & ~O_NONBLOCK);
usr.sbin/ppp/tty.c
759
fcntl(p->fd, F_SETFL, oldflag & ~O_NONBLOCK);
usr.sbin/rtadvd/control.c
244
if ((flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK)) == -1) {
usr.sbin/rtadvd/control.c
328
if ((flags = fcntl(s->si_fd, F_SETFL, flags | O_NONBLOCK)) == -1) {
usr.sbin/syslogd/syslogd.c
2536
if (fcntl(pfd[1], F_SETFL, O_NONBLOCK) == -1) {
usr.sbin/syslogd/syslogd.c
558
if (fcntl(fklog, F_SETFL, O_NONBLOCK) < 0)
usr.sbin/vknetd/vknetd.c
236
fcntl(tap_fd, F_SETFL, 0);
usr.sbin/ypserv/yp_dnslookup.c
139
if (fcntl(resfd, F_SETFL, O_NONBLOCK) == -1) {