Home
last modified time | relevance | path

Searched refs:F_SETFD (Results 1 – 25 of 64) sorted by relevance

123

/mirbsd/src/usr.bin/mail/
Dpopen.c80 (void)fcntl(fileno(fp), F_SETFD, 1); in Fopen()
92 (void)fcntl(fileno(fp), F_SETFD, 1); in Fdopen()
116 (void)fcntl(p[READ], F_SETFD, 1); in Popen()
117 (void)fcntl(p[WRITE], F_SETFD, 1); in Popen()
Dlex.c137 (void)fcntl(fileno(otf), F_SETFD, 1); in setfile()
140 (void)fcntl(fileno(itf), F_SETFD, 1); in setfile()
/mirbsd/src/usr.bin/chpass/
Dchpass.c176 if (dfd == -1 || fcntl(dfd, F_SETFD, 1) == -1) in main()
225 if (pfd == -1 || fcntl(pfd, F_SETFD, 1) == -1) in main()
/mirbsd/src/usr.bin/window/
Dwwopen.c115 (void) fcntl(d[0], F_SETFD, 1); in wwopen()
116 (void) fcntl(d[1], F_SETFD, 1); in wwopen()
Dwwpty.c85 (void) fcntl(w->ww_pty, F_SETFD, 1);
Dcontext.c91 (void) fcntl(fileno(cx.x_fp), F_SETFD, 1);
/mirbsd/src/lib/libcitrus_iconv/libc/citrus/
Dcitrus_mmap.c65 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { in _citrus_map_file()
/mirbsd/src/lib/libc/gen/
Dopendir.c69 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1 || in __opendir2()
/mirbsd/src/lib/libpthread/uthread/
Duthread_fcntl.c81 case F_SETFD: in fcntl()
/mirbsd/src/sys/sys/
Dfcntl.h143 #define F_SETFD 2 /* set file descriptor flags */ macro
/mirbsd/src/lib/libkvm/
Dkvm.c933 if (kd->pmfd >= 0 && fcntl(kd->pmfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
935 if (kd->vmfd >= 0 && fcntl(kd->vmfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
937 if (kd->nlfd >= 0 && fcntl(kd->nlfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
939 if (kd->swfd >= 0 && fcntl(kd->swfd, F_SETFD, FD_CLOEXEC) < 0) in kvm_setfd()
/mirbsd/src/usr.sbin/apmd/
Dapmd.c355 if (fcntl(ctl_fd, F_SETFD, 1) == -1) in main()
360 if (fcntl(sock_fd, F_SETFD, 1) == -1) in main()
/mirbsd/src/usr.sbin/cron/
Dmisc.c326 (void) fcntl(fd, F_SETFD, 1); in acquire_daemonlock()
497 (void) fcntl(LogFD, F_SETFD, 1); in log_it()
735 if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1) { in open_socket()
/mirbsd/src/gnu/usr.bin/perl/ext/Fcntl/
DMakefile.PL19 F_RDDNY F_RDLCK F_RWACC F_RWDNY F_SETFD F_SETFL
/mirbsd/src/libexec/ld.so/
Ddir.c70 if (_dl_fcntl(fd, F_SETFD, FD_CLOEXEC) < 0 || in _dl_opendir()
/mirbsd/src/usr.bin/make/
Djob.c1303 (void)fcntl(0, F_SETFD, 0); in JobExec()
1328 (void)fcntl(1, F_SETFD, 0); in JobExec()
1654 (void)fcntl(FILENO(job->cmdFILE), F_SETFD, 1); in JobStart()
1800 (void)fcntl(job->inPipe, F_SETFD, 1); in JobStart()
1801 (void)fcntl(job->outPipe, F_SETFD, 1); in JobStart()
1808 (void)fcntl(job->outFd, F_SETFD, 1); in JobStart()
/mirbsd/src/gnu/usr.bin/perl/ext/IO/lib/IO/
DPipe.pm62 fcntl($handle, Fcntl::F_SETFD(), 1) or croak "fcntl: $!";
/mirbsd/src/lib/libutil/
Dcheck_expire.c177 if (pfd < 0 || fcntl(pfd, F_SETFD, 1) == -1) { in pwd_update()
Dlocal_passwd.c134 if (pfd < 0 || fcntl(pfd, F_SETFD, FD_CLOEXEC) == -1) in local_passwd()
/mirbsd/src/gnu/usr.bin/cvs/src/
Drun.c604 #ifdef F_SETFD in close_on_exec()
605 if (fcntl (fd, F_SETFD, 1) == -1) in close_on_exec()
/mirbsd/src/usr.sbin/ppp/ppp/
Dexec.c181 fcntl(i, F_SETFD, 1); in exec_Create()
/mirbsd/src/gnu/usr.bin/perl/ext/ByteLoader/
Dbytecode.h232 #if defined(HAS_FCNTL) && defined(F_SETFD)
236 fcntl(fd,F_SETFD,fd >= 3); \
/mirbsd/src/gnu/usr.bin/cvs/contrib/
Dvalidate_repo.in128 use Fcntl qw( F_GETFD F_SETFD );
609 fcntl( $fh, F_SETFD, 0 )
/mirbsd/src/gnu/usr.bin/perl/lib/IPC/
DOpen3.pm331 fcntl($fd, Fcntl::F_SETFD(), 1) or push @errs, "fcntl $fd: $!"
/mirbsd/src/bin/mksh/
Dmain.c1131 if (fcntl(rv, F_SETFD, FD_CLOEXEC) < 0) { in tty_init_fd()
1360 fcntl(shl_dbg_fd, F_SETFD, FD_CLOEXEC); in initio()
1379 fcntl(nfd, F_SETFD, 0); in ksh_dup2()
1399 fcntl(nfd, F_SETFD, FD_CLOEXEC); in savefd()

123