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

1234

/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dunistd.h29 #define F_SETFD 2 macro
/freebsd-9.3-release/tools/regression/filemon/
H A Dfilemontest.c65 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC);
66 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
/freebsd-9.3-release/usr.bin/make/
H A Dproc.c93 fcntl(STDIN_FILENO, F_SETFD,
95 fcntl(STDOUT_FILENO, F_SETFD,
97 fcntl(STDERR_FILENO, F_SETFD,
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_fcntl.c63 case F_SETFD:
/freebsd-9.3-release/lib/libfetch/
H A Dfile.c64 fcntl(fileno(f), F_SETFD, FD_CLOEXEC); local
95 fcntl(fileno(f), F_SETFD, FD_CLOEXEC); local
/freebsd-9.3-release/lib/libc/iconv/
H A Dcitrus_mmap.c62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
/freebsd-9.3-release/lib/libc/stdio/
H A Dfdopen.c84 if ((oflags & O_CLOEXEC) && _fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
H A Dfreopen.c122 (void) _fcntl(fp->_file, F_SETFD, FD_CLOEXEC);
/freebsd-9.3-release/usr.bin/mail/
H A Dpopen.c73 (void)fcntl(fileno(fp), F_SETFD, 1); local
85 (void)fcntl(fileno(fp), F_SETFD, 1); local
108 (void)fcntl(p[READ], F_SETFD, 1);
109 (void)fcntl(p[WRITE], F_SETFD, 1);
H A Dlex.c134 (void)fcntl(fileno(otf), F_SETFD, 1); local
137 (void)fcntl(fileno(itf), F_SETFD, 1); local
/freebsd-9.3-release/contrib/pf/libevent/
H A Dsignal.c82 if (fcntl(x, F_SETFD, 1) == -1) \
83 event_warn("fcntl(%d, F_SETFD)", x); \
/freebsd-9.3-release/tools/regression/file/dup/
H A Ddup.c76 if (fcntl(fd1, F_SETFD, 1) != 0)
77 err(1, "fcntl(F_SETFD)");
/freebsd-9.3-release/contrib/openbsm/libbsm/
H A Dbsm_fcntl.c49 { BSM_F_SETFD, F_SETFD },
/freebsd-9.3-release/lib/libc/rpc/
H A Dclnt_simple.c182 _fcntl(fd, F_SETFD, 1); /* make it "close on exec" */
/freebsd-9.3-release/release/picobsd/tinyware/passwd/
H A Dpw_util.c128 if (lockfd < 0 || fcntl(lockfd, F_SETFD, 1) == -1)
/freebsd-9.3-release/sys/security/audit/
H A Daudit_bsm_fcntl.c52 { BSM_F_SETFD, F_SETFD },
/freebsd-9.3-release/sys/sys/
H A Dfcntl.h211 #define F_SETFD 2 /* set file descriptor flags */ macro
239 /* file descriptor flags (F_GETFD, F_SETFD) */
/freebsd-9.3-release/contrib/cvs/src/
H A Drun.c574 #ifdef F_SETFD
575 if (fcntl (fd, F_SETFD, 1) == -1)
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.os.h194 # ifdef F_SETFD
198 # define close_on_exec(fd, v) fcntl((fd), F_SETFD, ((v) ? FD_CLOEXEC : 0))
199 # else /* !F_SETFD */
205 # endif /* F_SETFD */
/freebsd-9.3-release/lib/libc/gen/
H A Dposix_spawn.c156 if (_fcntl(fae->fae_fildes, F_SETFD, 0) == -1)
163 if (_fcntl(fae->fae_newfildes, F_SETFD, 0) == -1)
/freebsd-9.3-release/contrib/bmake/
H A Djob.c444 (void)fcntl(job->jobPipe[0], F_SETFD, 1);
445 (void)fcntl(job->jobPipe[1], F_SETFD, 1);
1376 (void)fcntl(0, F_SETFD, 0);
1383 fcntl(tokenWaitJob.inPipe, F_SETFD, 0);
1384 fcntl(tokenWaitJob.outPipe, F_SETFD, 0);
1401 (void)fcntl(1, F_SETFD, 0);
1617 (void)fcntl(FILENO(job->cmdFILE), F_SETFD, 1);
2882 (void)fcntl(jp_0, F_SETFD, 1);
2883 (void)fcntl(jp_1, F_SETFD, 1);
H A Dmeta.c147 (void)fcntl(pbm->mon_fd, F_SETFD, 1);
148 (void)fcntl(pbm->filemon_fd, F_SETFD, 1);
1348 (void)fcntl(childPipe[0], F_SETFD, 1);
1349 (void)fcntl(childPipe[1], F_SETFD, 1);
/freebsd-9.3-release/usr.bin/script/
H A Dscript.c170 (void)fcntl(fm_fd, F_SETFD, FD_CLOEXEC);
171 (void)fcntl(fm_log, F_SETFD, FD_CLOEXEC);
/freebsd-9.3-release/bin/sh/
H A Dredir.c144 (void)fcntl(i, F_SETFD, FD_CLOEXEC);
/freebsd-9.3-release/contrib/openbsm/compat/
H A Dpidfile.h156 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {

Completed in 237 milliseconds

1234