Symbol: F_SETFD
bin/ksh/exec.c
411
#ifndef F_SETFD
bin/ksh/exec.c
46
#ifndef F_SETFD
bin/ksh/exec.c
61
#ifndef F_SETFD
bin/ksh/exec.c
68
return fcntl(fd, F_SETFD, 1);
bin/sh/input.c
560
(void) fcntl(fd, F_SETFD, FD_CLOEXEC);
bin/sh/redir.c
1085
(cloexec != -1 && fcntl(fd, F_SETFD, (fcntl_int) cloexec) == -1))
bin/sh/redir.c
295
if (fcntl(fd, F_SETFD, (fcntl_int)0) < 0)
bin/sh/redir.c
352
(void)fcntl(i, F_SETFD, (fcntl_int) FD_CLOEXEC);
bin/sh/redir.c
488
(void)fcntl(f, F_SETFD, (fcntl_int) FD_CLOEXEC);
bin/sh/redir.c
647
fcntl(newfd, F_SETFD,
bin/sh/redir.c
763
(void)fcntl(fd, F_SETFD, (fcntl_int) FD_CLOEXEC);
bin/sh/redir.c
87
#define CLOEXEC(fd) (fcntl((fd), F_SETFD, \
common/dist/zlib/gzlib.c
260
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | O_CLOEXEC);
crypto/dist/ipsec-tools/src/racoon/misc.c
133
fcntl(fd, F_SETFD, FD_CLOEXEC);
distrib/utils/libhack/opendir.c
71
if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1 ||
games/atc/log.c
141
if (fcntl(score_fd, F_SETFD, flags) == -1)
games/cribbage/crib.c
96
if (fcntl(fd, F_SETFD, flags) == -1)
lib/libc/compat/sys/compat_dup3.c
75
return fcntl(newfd, F_SETFD, fdflags);
lib/libc/db/db/dbfile.c
106
if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
lib/libc/db/db/dbfile.c
62
if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
lib/libc/gen/opendir.c
108
if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
lib/libc/resolv/res_send.c
704
fcntl(statp->_vcsock, F_SETFD, FD_CLOEXEC);
lib/libc/resolv/res_send.c
898
fcntl(EXT(statp)nssocks[ns], F_SETFD, FD_CLOEXEC);
lib/libc/rpc/clnt_simple.c
196
(void)fcntl(fd, F_SETFD, FD_CLOEXEC);
lib/libc/yp/yplib.c
270
if (fcntl(ysd->dom_socket, F_SETFD, FD_CLOEXEC) == -1)
lib/libutil/pidfile.c
268
fcntl(fd, F_SETFD, opts | FD_CLOEXEC) == -1) {
libexec/atrun/atrun.c
239
(void)fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC);
sys/compat/linux/common/linux_file.c
320
cmd = F_SETFD;
sys/kern/sys_descrip.c
419
case F_SETFD:
tests/kernel/h_fexecve.c
46
if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
tests/kernel/t_cloexec.c
151
RL(fcntl(fd, F_SETFD, FD_CLOEXEC));
tests/kernel/t_clofork.c
152
RL(fcntl(fd, F_SETFD, FD_CLOFORK));
tests/lib/libc/sys/t_eventfd.c
809
ATF_REQUIRE(fcntl(efd, F_SETFD, 0) == 0);
tests/lib/libc/sys/t_eventfd.c
811
ATF_REQUIRE(fcntl(efd, F_SETFD, FD_CLOEXEC) == 0);
tests/lib/libc/sys/t_timerfd.c
789
ATF_REQUIRE(fcntl(tfd, F_SETFD, 0) == 0);
tests/lib/libc/sys/t_timerfd.c
791
ATF_REQUIRE(fcntl(tfd, F_SETFD, FD_CLOEXEC) == 0);
tests/lib/librumpclient/h_exec.c
103
if (rump_sys_fcntl(s1, F_SETFD, FD_CLOEXEC) == -1) {
tests/lib/librumpclient/h_execthr.c
168
if (rump_sys_fcntl(p1[0], F_SETFD, FD_CLOEXEC) == -1)
tests/lib/librumpclient/h_execthr.c
170
if (rump_sys_fcntl(p1[1], F_SETFD, FD_CLOEXEC) == -1)
usr.bin/chpass/chpass.c
228
if (dfd < 0 || fcntl(dfd, F_SETFD, 1) < 0)
usr.bin/chpass/chpass.c
273
if (fcntl(tfd, F_SETFD, 1) < 0)
usr.bin/chpass/chpass.c
277
if (pfd < 0 || fcntl(pfd, F_SETFD, 1) < 0)
usr.bin/ftp/ssl.c
270
fcntl(sd, F_SETFD, FD_CLOEXEC);
usr.bin/kdump/kdump.c
571
CASERETURN(F_SETFD);
usr.bin/make/job.c
1581
if (fcntl(STDIN_FILENO, F_SETFD, 0) == -1)
usr.bin/make/job.c
1588
if (fcntl(tokenPoolJob.inPipe, F_SETFD, 0) == -1)
usr.bin/make/job.c
1591
if (fcntl(tokenPoolJob.outPipe, F_SETFD, 0) == -1)
usr.bin/make/job.c
1605
if (fcntl(STDOUT_FILENO, F_SETFD, 0) == -1)
usr.bin/make/job.c
1714
(void)fcntl(fd, F_SETFD, FD_CLOEXEC);
usr.bin/make/job.c
2645
(void)fcntl(tokenPoolReader, F_SETFD, FD_CLOEXEC);
usr.bin/make/job.c
2646
(void)fcntl(tokenPoolWriter, F_SETFD, FD_CLOEXEC);
usr.bin/make/job.c
639
if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
usr.bin/make/meta.c
147
(void)fcntl(dupfd, F_SETFD, FD_CLOEXEC);
usr.bin/make/meta.c
152
(void)fcntl(pbm->mon_fd, F_SETFD, FD_CLOEXEC);
usr.bin/make/meta.c
1758
(void)fcntl(childPipe[0], F_SETFD, FD_CLOEXEC);
usr.bin/make/meta.c
1759
(void)fcntl(childPipe[1], F_SETFD, FD_CLOEXEC);
usr.sbin/faithd/tcp.c
208
(void)fcntl(s_snd, F_SETFD, O_NONBLOCK);
usr.sbin/inetd/inetd.c
630
if (fcntl(ctrl, F_SETFD, 0) < 0)
usr.sbin/inetd/inetd.c
793
if (fcntl(sep->se_fd, F_SETFD, FD_CLOEXEC) < 0) {
usr.sbin/powerd/powerd.c
136
if (prog_fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {