Symbol: F_GETFL
bin/ksh/io.c
316
if ((fl = fcntl(fd = name[0] - '0', F_GETFL, 0)) < 0) {
bin/ksh/misc.c
1255
if ((flags = fcntl(fd, F_GETFL, 0)) < 0)
bin/ksh/shf.c
142
int flags = fcntl(fd, F_GETFL, 0);
bin/ksh/shf.c
89
int flags = fcntl(fd, F_GETFL, 0);
bin/sh/input.c
224
int flags = fcntl(0, F_GETFL, 0);
bin/sh/redir.c
400
(fcntl_int)(fcntl(f, F_GETFL) & ~eflags));
bin/sh/redir.c
995
if ((f = fcntl(fd, F_GETFL)) == -1) {
common/dist/zlib/gzlib.c
256
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
478
if ((fc = fcntl(s->server_fd, F_GETFL)) == -1 ||
games/hunt/huntd/answer.c
133
flags = fcntl(newsock, F_GETFL, 0);
lib/libc/compat/sys/compat_dup3.c
53
int e = fcntl(newfd, F_GETFL, 0);
lib/libc/gen/xsyslog.c
86
if (data->log_file == -1 || fcntl(data->log_file, F_GETFL, 0) == -1) {
lib/libc/rpc/svc_vc.c
359
flags = fcntl(sock, F_GETFL, 0);
lib/libc/stdio/fdopen.c
87
if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
lib/libc/stdio/vdprintf.c
82
if ((fdflags = fcntl(fd, F_GETFL, 0)) == -1)
lib/libedit/read.c
173
if ((e = fcntl(fd, F_GETFL, 0)) == -1)
lib/libedit/readline.c
2279
if ((n = fcntl(el->el_infd, F_GETFL, 0)) < 0)
lib/libpuffs/puffs.c
551
if (fcntl(pu->pu_fd, F_GETFL) == -1) {
lib/librumpclient/rumpclient.c
822
flags = host_fcntl(s, F_GETFL, 0);
lib/librumpuser/rumpuser_sp.c
627
flags = fcntl(newfd, F_GETFL, 0);
libexec/lfs_cleanerd/cleansrv.c
214
flags = fcntl(control_socket, F_GETFL, NULL);
sbin/efi/utils.c
414
if ((fd_flags = fcntl(fd, F_GETFL)) == -1)
sys/arch/usermode/usermode/thunk.c
1068
flags = fcntl(fd, F_GETFL, 0);
sys/arch/usermode/usermode/thunk.c
1373
flags = fcntl(rfb->clientfd, F_GETFL, 0);
sys/arch/usermode/usermode/thunk.c
451
flags = fcntl(STDIN_FILENO, F_GETFL, 0);
sys/compat/linux/common/linux_file.c
325
SCARG(&fca, cmd) = F_GETFL;
sys/compat/sunos/sunos_ioctl.c
1089
case F_GETFL:
sys/compat/sunos32/sunos32_ioctl.c
1114
case F_GETFL:
sys/kern/sys_descrip.c
437
case F_GETFL:
tests/dev/audio/audiotest.c
1036
case F_GETFL: /* no arguments */
tests/kernel/h_cloexec.c
43
if (fcntl(fd, F_GETFL, &flags) == 0)
tests/kernel/t_pty.c
180
if ((opt = fcntl(fd, F_GETFL, NULL)) == -1)
tests/lib/libc/sys/t_eventfd.c
792
ATF_REQUIRE((fcntl(efd, F_GETFL) & O_NONBLOCK) == 0);
tests/lib/libc/sys/t_eventfd.c
794
ATF_REQUIRE((fcntl(efd, F_GETFL) & O_NONBLOCK) != 0);
tests/lib/libc/sys/t_eventfd.c
807
ATF_REQUIRE((fcntl(efd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
tests/lib/libc/sys/t_pipe2.c
88
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0);
tests/lib/libc/sys/t_pipe2.c
89
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0);
tests/lib/libc/sys/t_pipe2.c
91
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0);
tests/lib/libc/sys/t_pipe2.c
92
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0);
tests/lib/libc/sys/t_poll.c
509
RL(flags = fcntl(writefd, F_GETFL));
tests/lib/libc/sys/t_poll.c
526
RL(flags = fcntl(writefd, F_GETFL));
tests/lib/libc/sys/t_poll.c
544
RL(flags = fcntl(readfd, F_GETFL));
tests/lib/libc/sys/t_select.c
227
if (fcntl(fd, F_GETFL) != -1 || errno != EBADF)
tests/lib/libc/sys/t_socketpair.c
100
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0);
tests/lib/libc/sys/t_socketpair.c
101
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0);
tests/lib/libc/sys/t_socketpair.c
103
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0);
tests/lib/libc/sys/t_socketpair.c
104
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0);
tests/lib/libc/sys/t_stat.c
341
flags = fcntl(fd, F_GETFL);
tests/lib/libc/sys/t_timerfd.c
772
ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) == 0);
tests/lib/libc/sys/t_timerfd.c
774
ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) != 0);
tests/lib/libc/sys/t_timerfd.c
787
ATF_REQUIRE((fcntl(tfd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
tests/lib/libc/ttyio/t_ptm.c
187
ATF_CHECK_EQ(O_RDWR|O_NONBLOCK, fcntl(fdm, F_GETFL));
tests/lib/librumpclient/t_fd.c
120
RL(fl = rump_sys_fcntl(ls, F_GETFL));
tests/modules/t_kcov.c
68
} while (fcntl(fd2, F_GETFL) != -1 || errno != EBADF);
tests/net/icmp/t_ping.c
155
RL(x = rump_sys_fcntl(s, F_GETFL, 0));
tests/net/net/t_tcp.c
190
fl = fcntl(srvr, F_GETFL, 0);
tests/net/net/t_tcp.c
227
fl = fcntl(acpt, F_GETFL, 0);
tests/net/net/t_tcp.c
238
fl = fcntl(acpt, F_GETFL, 0);
usr.bin/ftp/ftp.c
1745
if ((flags = fcntl(data, F_GETFL, 0)) == -1)
usr.bin/ftp/ssl.c
649
if ((flags = fcntl(sock, F_GETFL, 0)) == -1) {
usr.bin/ftp/util.c
1380
if ((flags = fcntl(sock, F_GETFL, 0)) == -1) {
usr.bin/kdump/kdump.c
572
CASERETURN(F_GETFL);
usr.bin/ktrace/ktrace.c
274
int oflag = fcntl(fd, F_GETFL, 0);
usr.bin/make/job.c
628
int flags = fcntl(fd, F_GETFL, 0);
usr.bin/tip/tip.c
265
((fcarg = fcntl(FD, F_GETFL, 0)) < 0 ||
usr.sbin/ldpd/ldp_peer.c
191
sopts = fcntl(p->socket, F_GETFL);
usr.sbin/mmcformat/uscsi_subr.c
251
flags = fcntl(disc->fhandle, F_GETFL);
usr.sbin/perfused/perfused.c
278
if ((flags = fcntl(fd, F_GETFL, 0)) == -1)
usr.sbin/tpctl/main.c
394
if ((flg = fcntl(fd, F_GETFL)) == -1)
usr.sbin/tpctl/tp.c
76
flags = fcntl(tp->fd, F_GETFL);
usr.sbin/ypbind/ypbind.c
994
(void)fcntl(rpcsock, F_SETFL, fcntl(rpcsock, F_GETFL, 0) | FNDELAY);
usr.sbin/ypbind/ypbind.c
995
(void)fcntl(pingsock, F_SETFL, fcntl(pingsock, F_GETFL, 0) | FNDELAY);