Symbol: F_GETFD
bin/sh/redir.c
314
cloexec = fcntl(fd, F_GETFD);
bin/sh/redir.c
648
(fcntl_int)(fcntl(newfd, F_GETFD) | FD_CLOEXEC));
bin/sh/redir.c
88
(fcntl_int)(fcntl((fd), F_GETFD) | FD_CLOEXEC)))
bin/sh/redir.c
990
if ((c = fcntl(fd, F_GETFD)) == -1) {
common/dist/zlib/gzlib.c
260
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | O_CLOEXEC);
games/atc/log.c
137
flags = fcntl(score_fd, F_GETFD);
games/cribbage/crib.c
92
flags = fcntl(fd, F_GETFD);
lib/libutil/pidfile.c
267
if ((opts = fcntl(fd, F_GETFD)) == -1 ||
libexec/atrun/atrun.c
236
if ((fflags = fcntl(fd_in, F_GETFD)) < 0)
sys/compat/linux/common/linux_file.c
316
cmd = F_GETFD;
sys/kern/sys_descrip.c
413
case F_GETFD:
tests/kernel/t_epoll.c
76
ATF_REQUIRE_MSG((fcntl(fd, F_GETFD) & FD_CLOEXEC) == 0,
tests/kernel/t_epoll.c
80
ATF_REQUIRE_MSG((fcntl(fd, F_GETFD) & FD_CLOEXEC) != 0,
tests/lib/libc/sys/t_eventfd.c
795
ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_eventfd.c
808
ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_eventfd.c
810
ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_eventfd.c
812
ATF_REQUIRE((fcntl(efd, F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_pipe2.c
72
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_pipe2.c
73
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_pipe2.c
75
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_pipe2.c
76
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_pipe2.c
80
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) != 0);
tests/lib/libc/sys/t_pipe2.c
81
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) != 0);
tests/lib/libc/sys/t_pipe2.c
83
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) == 0);
tests/lib/libc/sys/t_pipe2.c
84
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) == 0);
tests/lib/libc/sys/t_socketpair.c
84
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_socketpair.c
85
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_socketpair.c
87
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_socketpair.c
88
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_socketpair.c
92
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) != 0);
tests/lib/libc/sys/t_socketpair.c
93
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) != 0);
tests/lib/libc/sys/t_socketpair.c
95
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOFORK) == 0);
tests/lib/libc/sys/t_socketpair.c
96
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOFORK) == 0);
tests/lib/libc/sys/t_timerfd.c
775
ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_timerfd.c
788
ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/sys/t_timerfd.c
790
ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_timerfd.c
792
ATF_REQUIRE((fcntl(tfd, F_GETFD) & FD_CLOEXEC) != 0);
tests/lib/libc/ttyio/t_ptm.c
188
ATF_CHECK_EQ(FD_CLOEXEC|FD_CLOFORK, fcntl(fdm, F_GETFD));
usr.bin/kdump/kdump.c
570
CASERETURN(F_GETFD);
usr.bin/make/main.c
390
if (fcntl(tokenPoolReader, F_GETFD, 0) < 0 ||
usr.bin/make/main.c
391
fcntl(tokenPoolWriter, F_GETFD, 0) < 0) {