Symbol: F_GETFD
lib/libc/gen/opendir.c
85
flags = fcntl(fd, F_GETFD);
lib/libc/gen/popen.c
103
int flags = fcntl(pdes[target], F_GETFD);
lib/libc/gen/popen.c
133
int flags = fcntl(pdes[target], F_GETFD);
lib/libc/gen/posix_spawn.c
161
int flags = fcntl(fd, F_GETFD);
lib/libc/stdio/fdopen.c
75
if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC))
lib/libc/sys/w_fcntl.c
38
case F_GETFD:
lib/libcrypto/arc4random/getentropy_aix.c
144
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
lib/libcrypto/arc4random/getentropy_hpux.c
148
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
lib/libcrypto/arc4random/getentropy_linux.c
222
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
lib/libcrypto/arc4random/getentropy_osx.c
168
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
lib/libcrypto/arc4random/getentropy_solaris.c
174
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
lib/libcrypto/bio/b_posix.c
86
int flags = fcntl(s, F_GETFD);
lib/libz/gzlib.c
260
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | O_CLOEXEC);
regress/lib/libc/sys/t_pipe2.c
66
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
regress/lib/libc/sys/t_pipe2.c
67
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
regress/lib/libc/sys/t_pipe2.c
69
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
regress/lib/libc/sys/t_pipe2.c
70
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
regress/lib/libc/sys/t_socketpair.c
78
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) != 0);
regress/lib/libc/sys/t_socketpair.c
79
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) != 0);
regress/lib/libc/sys/t_socketpair.c
81
ATF_REQUIRE((fcntl(fd[0], F_GETFD) & FD_CLOEXEC) == 0);
regress/lib/libc/sys/t_socketpair.c
82
ATF_REQUIRE((fcntl(fd[1], F_GETFD) & FD_CLOEXEC) == 0);
regress/lib/libpthread/close_race/close_race.c
46
while(fcntl(fd, F_GETFD, NULL) != -1);
regress/lib/libpthread/dup2_race/dup2_race.c
46
while(fcntl(fd, F_GETFD, NULL) != -1);
regress/sys/kern/dup2/dup2test.c
39
if (fcntl(fd2, F_GETFD) != 0)
regress/sys/kern/dup2_self/dup2_self.c
59
if (fcntl(fd2, F_GETFD) == 0)
regress/sys/kern/fcntl_dup/fcntl_dup.c
35
if (fcntl(fd2, F_GETFD) != 0)
sys/kern/kern_descrip.c
459
case F_GETFD: