Searched refs:F_SETFD (Results 1 - 25 of 164) sorted by relevance

1234567

/macosx-10.10/bash-94.1.2/bash-3.2/include/
H A Dfilecntl.h33 #define SET_CLOSE_ON_EXEC(fd) (fcntl ((fd), F_SETFD, FD_CLOEXEC))
34 #define SET_OPEN_ON_EXEC(fd) (fcntl ((fd), F_SETFD, FD_NCLOEXEC))
/macosx-10.10/ntp-92/lib/isc/win32/
H A Dunistd.h29 #define F_SETFD 2 macro
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/
H A Dunistd.h29 #define F_SETFD 2 macro
/macosx-10.10/postfix-255/postfix/src/util/
H A Dclose_on_exec.c57 if (fcntl(fd, F_SETFD, on ? flags | PATTERN : flags & ~PATTERN) < 0)
H A Ddup2_pass_on_exec.c43 DO(fcntl(0, F_SETFD, 1));
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dfcntl.c40 #if F_SETFD >= _ast_F_LOCAL
74 #if F_SETFD >= _ast_F_LOCAL && defined(FIOCLEX)
75 case F_SETFD:
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dcloexec.c47 if (fcntl(fd, F_SETFD, ret | FD_CLOEXEC) == -1)
/macosx-10.10/apr-32/apr/apr/include/arch/unix/
H A Dapr_arch_inherit.h34 if (fcntl(the##name->name##des, F_SETFD, flags) == -1) \
54 if (fcntl(the##name->name##des, F_SETFD, flags) == -1) \
/macosx-10.10/ruby-106/ruby/ext/fcntl/
H A Dfcntl.c76 * condition. F_SETFD is used if F_DUPFD_CLOEXEC is not available.)
95 #ifdef F_SETFD
96 /* Document-const: F_SETFD
100 rb_define_const(mFcntl, "F_SETFD", INT2NUM(F_SETFD));
/macosx-10.10/apr-32/apr/apr/file_io/netware/
H A Dmktemp.c53 if (fcntl((*fp)->filedes, F_SETFD, flags) == -1)
/macosx-10.10/ksh-23/ksh/src/lib/libast/features/
H A Dfcntl.c132 #ifndef F_SETFD
135 if (F_SETFD > f_local) f_local = F_SETFD;
183 #ifndef F_SETFD
184 printf("#define F_SETFD %d\n", ++f_local);
/macosx-10.10/ksh-23/ksh/src/lib/libast/dir/
H A Dopendir.c59 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
/macosx-10.10/sudo-73/src/
H A Dtsgetgrpw.c81 fcntl(fileno(pwf), F_SETFD, FD_CLOEXEC); local
150 fcntl(fileno(pwf), F_SETFD, FD_CLOEXEC);
174 fcntl(fileno(pwf), F_SETFD, FD_CLOEXEC);
204 fcntl(fileno(grf), F_SETFD, FD_CLOEXEC); local
271 fcntl(fileno(grf), F_SETFD, FD_CLOEXEC);
295 fcntl(fileno(grf), F_SETFD, FD_CLOEXEC);
H A Dclosefrom.c83 (void) fcntl((int) fd, F_SETFD, 1);
/macosx-10.10/BerkeleyDB-21/db/os_qnx/
H A Dos_qnx_open.c67 fcntl(fhp->fd, F_SETFD, fcntl_flags | FD_CLOEXEC) == -1) {
69 __db_syserr(env, ret, "fcntl(F_SETFD)");
/macosx-10.10/uucp-11/uucp/unix/
H A Ddirent.c67 if (fcntl (o, F_SETFD, fcntl (o, F_GETFD, 0) | FD_CLOEXEC) < 0
H A Dspawn.c214 || fcntl (onull, F_SETFD,
269 if (fcntl (aipipe[0], F_SETFD,
271 || fcntl (aipipe[1], F_SETFD,
342 (void) fcntl (i, F_SETFD, fcntl (i, F_GETFD, 0) &~ FD_CLOEXEC);
H A Dufopen.c128 if (fcntl (o, F_SETFD, fcntl (o, F_GETFD, 0) | FD_CLOEXEC) < 0)
H A Dopensr.c103 if (fcntl (o, F_SETFD, fcntl (o, F_GETFD, 0) | FD_CLOEXEC) < 0)
231 if (fcntl (o, F_SETFD, fcntl (o, F_GETFD, 0) | FD_CLOEXEC) < 0)
/macosx-10.10/uucp-11/uucp/uuconf/
H A Dsyshdr.h137 fcntl (cle_i, F_SETFD, fcntl (cle_i, F_GETFD, 0) | FD_CLOEXEC); \
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-rand.c310 fcntl(fd, F_SETFD, flg | FD_CLOEXEC);
346 fcntl(fd, F_SETFD, flg | FD_CLOEXEC);
/macosx-10.10/cups-408/cups/scheduler/
H A Dfile.c266 if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC))
277 if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC))
H A Dutil.c262 if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC))
272 if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC))
/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DtclUnixPipe.c153 fcntl(fd, F_SETFD, FD_CLOEXEC);
215 fcntl(fd, F_SETFD, FD_CLOEXEC);
268 fcntl(fd, F_SETFD, FD_CLOEXEC);
306 fcntl(pipeIds[0], F_SETFD, FD_CLOEXEC);
307 fcntl(pipeIds[1], F_SETFD, FD_CLOEXEC);
473 ((dup2(1,2) == -1) || (fcntl(2, F_SETFD, 0) != 0)))) {
697 fcntl(targetFd, F_SETFD, 0);
704 fcntl(fd, F_SETFD, 0);
/macosx-10.10/tcl-105/tcl84/tcl/unix/
H A DtclUnixPipe.c154 fcntl(fd, F_SETFD, FD_CLOEXEC);
216 fcntl(fd, F_SETFD, FD_CLOEXEC);
269 fcntl(fd, F_SETFD, FD_CLOEXEC);
307 fcntl(pipeIds[0], F_SETFD, FD_CLOEXEC);
308 fcntl(pipeIds[1], F_SETFD, FD_CLOEXEC);
472 (fcntl(2, F_SETFD, 0) != 0)))) {
690 fcntl(targetFd, F_SETFD, 0);
697 fcntl(fd, F_SETFD, 0);

Completed in 218 milliseconds

1234567