HomeSort by: relevance | last modified time | path
    Searched refs:F_SETFD (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/tests/kernel/
h_fexecve.c 46 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
t_cloexec.c 151 RL(fcntl(fd, F_SETFD, FD_CLOEXEC));
417 "fcntl(open(...), F_SETFD, O_CLOEXEC) is closed in child on posix_spawn");
t_clofork.c 152 RL(fcntl(fd, F_SETFD, FD_CLOFORK));
394 "fcntl(open(...), F_SETFD, O_CLOFORK) is closed in child on posix_spawn");
  /src/lib/libc/compat/sys/
compat_dup3.c 75 return fcntl(newfd, F_SETFD, fdflags);
  /src/lib/libc/db/db/
dbfile.c 62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
106 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
  /src/usr.bin/chpass/
chpass.c 228 if (dfd < 0 || fcntl(dfd, F_SETFD, 1) < 0)
273 if (fcntl(tfd, F_SETFD, 1) < 0)
277 if (pfd < 0 || fcntl(pfd, F_SETFD, 1) < 0)
  /src/distrib/utils/libhack/
opendir.c 71 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1 ||
  /src/tests/lib/librumpclient/
h_execthr.c 168 if (rump_sys_fcntl(p1[0], F_SETFD, FD_CLOEXEC) == -1)
170 if (rump_sys_fcntl(p1[1], F_SETFD, FD_CLOEXEC) == -1)
h_exec.c 103 if (rump_sys_fcntl(s1, F_SETFD, FD_CLOEXEC) == -1) {
  /src/lib/libc/gen/
opendir.c 108 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/
randombytes_sysrandom.c 190 # if defined(F_SETFD) && defined(FD_CLOEXEC)
191 (void) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
  /src/bin/sh/
redir.c 87 #define CLOEXEC(fd) (fcntl((fd), F_SETFD, \
295 if (fcntl(fd, F_SETFD, (fcntl_int)0) < 0)
352 (void)fcntl(i, F_SETFD, (fcntl_int) FD_CLOEXEC);
488 (void)fcntl(f, F_SETFD, (fcntl_int) FD_CLOEXEC);
647 fcntl(newfd, F_SETFD,
763 (void)fcntl(fd, F_SETFD, (fcntl_int) FD_CLOEXEC);
1085 (cloexec != -1 && fcntl(fd, F_SETFD, (fcntl_int) cloexec) == -1))
  /src/lib/libc/rpc/
clnt_simple.c 196 (void)fcntl(fd, F_SETFD, FD_CLOEXEC);
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/
randombytes_salsa20_random.c 231 # if defined(F_SETFD) && defined(FD_CLOEXEC)
232 (void) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
  /src/usr.bin/make/
job.c 639 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
1527 if (fcntl(STDIN_FILENO, F_SETFD, 0) == -1)
1534 if (fcntl(tokenPoolJob.inPipe, F_SETFD, 0) == -1)
1537 if (fcntl(tokenPoolJob.outPipe, F_SETFD, 0) == -1)
1551 if (fcntl(STDOUT_FILENO, F_SETFD, 0) == -1)
1660 (void)fcntl(fd, F_SETFD, FD_CLOEXEC);
2591 (void)fcntl(tokenPoolReader, F_SETFD, FD_CLOEXEC);
2592 (void)fcntl(tokenPoolWriter, F_SETFD, FD_CLOEXEC);
meta.c 153 (void)fcntl(dupfd, F_SETFD, FD_CLOEXEC);
158 (void)fcntl(pbm->mon_fd, F_SETFD, FD_CLOEXEC);
1634 (void)fcntl(childPipe[0], F_SETFD, FD_CLOEXEC);
1635 (void)fcntl(childPipe[1], F_SETFD, FD_CLOEXEC);
  /src/games/atc/
log.c 141 if (fcntl(score_fd, F_SETFD, flags) == -1)
142 err(1, "fcntl F_SETFD");
  /src/usr.sbin/faithd/
tcp.c 208 (void)fcntl(s_snd, F_SETFD, O_NONBLOCK);
  /src/usr.sbin/powerd/
powerd.c 136 if (prog_fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
  /src/sys/sys/
fcntl.h 186 #define F_SETFD 2 /* set file descriptor flags */
219 /* file descriptor flags (F_GETFD, F_SETFD) */
  /src/tests/lib/libc/sys/
t_eventfd.c 809 ATF_REQUIRE(fcntl(efd, F_SETFD, 0) == 0);
811 ATF_REQUIRE(fcntl(efd, F_SETFD, FD_CLOEXEC) == 0);
  /src/bin/ksh/
exec.c 44 * handle systems that don't have F_SETFD
46 #ifndef F_SETFD
61 #ifndef F_SETFD
68 return fcntl(fd, F_SETFD, 1);
411 #ifndef F_SETFD
  /src/lib/libc/yp/
yplib.c 270 if (fcntl(ysd->dom_socket, F_SETFD, FD_CLOEXEC) == -1)
271 perror("fcntl: F_SETFD");
  /src/libexec/atrun/
atrun.c 239 (void)fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC);
  /src/sys/external/bsd/libnv/dist/
msgio.c 113 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);

Completed in 24 milliseconds

1 2