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

1234

/openbsd-current/regress/usr.sbin/ospfd/
H A Dtestfd.pl23 use Fcntl qw(F_SETFD FD_CLOEXEC);
29 $child->fcntl(F_SETFD, 0)
H A DTap.pm61 $child->fcntl(F_SETFD, 0)
/openbsd-current/regress/sys/kern/dup2/
H A Ddup2test.c28 if (fcntl(fd1, F_SETFD, 1) != 0)
29 err(1, "fcntl(F_SETFD)");
/openbsd-current/regress/sys/kern/dup2_self/
H A Ddup2_self.c48 if (fcntl(fd1, F_SETFD, 1) != 0)
49 err(1, "fcntl(F_SETFD)");
/openbsd-current/regress/sys/kern/fcntl_dup/
H A Dfcntl_dup.c28 if (fcntl(fd1, F_SETFD, 1) != 0)
29 err(1, "fcntl(F_SETFD)");
/openbsd-current/lib/libc/sys/
H A Dw_fcntl.c32 case F_SETFD:
/openbsd-current/lib/libc/gen/
H A Dpopen.c105 fcntl(pdes[target], F_SETFD, flags & ~FD_CLOEXEC)
135 fcntl(pdes[target], F_SETFD, flags & ~FD_CLOEXEC);
H A Dopendir.c85 (void)fcntl(fd, F_SETFD, FD_CLOEXEC);
H A Dposix_spawn.c165 fcntl(fd, F_SETFD, flags & ~FD_CLOEXEC) == -1))
/openbsd-current/usr.sbin/nsd/
H A Dpopen3.c53 fcntl(fdsig[0], F_SETFD, FD_CLOEXEC) == -1 ||
54 fcntl(fdsig[1], F_SETFD, FD_CLOEXEC) == -1)
/openbsd-current/lib/libc/stdio/
H A Dfdopen.c82 fcntl(fd, F_SETFD, tmp | FD_CLOEXEC);
/openbsd-current/sys/sys/
H A Dfcntl.h145 #define F_SETFD 2 /* set file descriptor flags */ macro
162 /* file descriptor flags (F_GETFD, F_SETFD) */
/openbsd-current/usr.bin/mail/
H A Dpopen.c72 (void)fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); local
84 (void)fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); local
108 (void)fcntl(p[READ], F_SETFD, FD_CLOEXEC);
109 (void)fcntl(p[WRITE], F_SETFD, FD_CLOEXEC);
/openbsd-current/gnu/usr.bin/cvs/src/
H A Drun.c457 #ifdef F_SETFD
458 if (fcntl (fd, F_SETFD, 1))
/openbsd-current/gnu/usr.bin/perl/ext/Fcntl/
H A DMakefile.PL18 F_RDDNY F_RDLCK F_RWACC F_RWDNY F_SETFD F_SETFL
H A DFcntl.pm113 F_SETFD
/openbsd-current/bin/csh/
H A Dcsh.c445 (void) fcntl(SHIN, F_SETFD, FD_CLOEXEC);
539 (void) fcntl(dcopy(f, FSHTTY), F_SETFD, FD_CLOEXEC); local
701 (void) fcntl(unit, F_SETFD, FD_CLOEXEC);
1309 (void) fcntl(SHIN = dcopy(0, FSHIN), F_SETFD, FD_CLOEXEC);
1310 (void) fcntl(SHOUT = dcopy(1, FSHOUT), F_SETFD, FD_CLOEXEC);
1311 (void) fcntl(SHERR = dcopy(2, FSHERR), F_SETFD, FD_CLOEXEC);
1312 (void) fcntl(OLDSTD = dcopy(SHIN, FOLDSTD), F_SETFD, FD_CLOEXEC);
H A Dsem.c549 (void) fcntl(STDIN_FILENO, F_SETFD, 0);
583 (void) fcntl(STDOUT_FILENO, F_SETFD, 0);
592 (void) fcntl(STDERR_FILENO, F_SETFD, 0);
/openbsd-current/usr.sbin/ntpd/
H A Dutil.c207 } else if (fcntl(cfd, F_SETFD, 0) == -1)
/openbsd-current/usr.bin/kdump/
H A Dmksubr404 if (arg1 == F_SETFD) {
/openbsd-current/regress/sys/kern/fork-exit/
H A Dfork-exit.c164 if (fcntl(fd, F_SETFD, FD_CLOEXEC))
/openbsd-current/gnu/llvm/lldb/source/Host/posix/
H A DPipePosix.cpp48 return (::fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == 0);
/openbsd-current/gnu/usr.bin/perl/dist/IO/lib/IO/
H A DPipe.pm61 fcntl($handle, Fcntl::F_SETFD(), 1) or croak "fcntl: $!";
/openbsd-current/gnu/usr.bin/perl/ext/IPC-Open3/lib/IPC/
H A DOpen3.pm264 fcntl $stat_w, &Fcntl::F_SETFD, $flags|&Fcntl::FD_CLOEXEC
397 fcntl($fd, Fcntl::F_SETFD(), 1) or push @errs, "fcntl $fd: $!"
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pm11 use Fcntl qw(FD_CLOEXEC F_DUPFD F_GETFD F_GETFL F_GETLK F_RDLCK F_SETFD
275 F_SETFD F_SETFL F_SETLK F_SETLKW F_UNLCK F_WRLCK

Completed in 290 milliseconds

1234