/freebsd-10.3-release/contrib/ntp/lib/isc/win32/ |
H A D | unistd.h | 34 #undef F_DUPFD macro
|
/freebsd-10.3-release/lib/libkse/thread/ |
H A D | thr_fcntl.c | 55 case F_DUPFD:
|
/freebsd-10.3-release/contrib/ntp/libntp/ |
H A D | socket.c | 58 #if !defined(SYS_WINNT) && defined(F_DUPFD) 102 newfd = fcntl(fd, F_DUPFD, socket_boundary); 119 #endif /* !defined(SYS_WINNT) && defined(F_DUPFD) */
|
/freebsd-10.3-release/gnu/usr.bin/rcs/lib/ |
H A D | rcsutil.c | 62 * Define dup in terms of F_DUPFD if it exists. 830 # ifdef F_DUPFD 831 return fcntl(fd, F_DUPFD, STDERR_FILENO + 1); 890 #ifdef F_DUPFD 892 # define dup(fd) fcntl(fd, F_DUPFD, 0) 905 # ifdef F_DUPFD 906 new = fcntl(old, F_DUPFD, new); 1037 # ifdef F_DUPFD 1043 # ifdef F_DUPFD 1044 fcntl(infd, F_DUPFD, STDIN_FILEN [all...] |
H A D | rcsfnms.c | 985 # ifdef F_DUPFD 987 fcntl(fd[1], F_DUPFD, STDOUT_FILENO))
|
/freebsd-10.3-release/contrib/openbsm/libbsm/ |
H A D | bsm_fcntl.c | 45 { BSM_F_DUPFD, F_DUPFD },
|
/freebsd-10.3-release/sys/security/audit/ |
H A D | bsm_fcntl.c | 48 { BSM_F_DUPFD, F_DUPFD },
|
/freebsd-10.3-release/sys/sys/ |
H A D | fcntl.h | 207 #define F_DUPFD 0 /* duplicate file descriptor */ macro 231 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */
|
/freebsd-10.3-release/contrib/diff/src/ |
H A D | system.h | 106 # define dup2(f, t) (close (t), fcntl (f, F_DUPFD, t))
|
/freebsd-10.3-release/tests/sys/file/ |
H A D | dup_test.c | 19 * Test #8: check if fcntl(F_DUPFD) works. 20 * Test #9: check if fcntl(F_DUPFD) cleared close-on-exec flag for duped fd. 165 /* Does fcntl(F_DUPFD) work? */ 166 if ((fd2 = fcntl(fd1, F_DUPFD, 10)) < 0) 167 err(1, "fcntl(F_DUPFD)"); 169 printf("not ok %d - fcntl(F_DUPFD) returned wrong fd %d\n", 172 printf("ok %d - fcntl(F_DUPFD) works\n", ++test); 178 "not ok %d - fcntl(F_DUPFD) didn't clear close-on-exec\n", 181 printf("ok %d - fcntl(F_DUPFD) cleared close-on-exec\n", test);
|
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Host/common/ |
H A D | File.cpp | 178 m_descriptor = ::fcntl(GetDescriptor(), F_DUPFD); 224 m_descriptor = ::fcntl(rhs.GetDescriptor(), F_DUPFD);
|
/freebsd-10.3-release/sys/compat/svr4/ |
H A D | svr4_fcntl.c | 80 return F_DUPFD; 603 case F_DUPFD:
|
/freebsd-10.3-release/lib/libc/rpc/ |
H A D | clnt_generic.c | 433 if ((nfd = _fcntl(fd, F_DUPFD, __rpc_minfd)) == -1)
|
/freebsd-10.3-release/sys/i386/ibcs2/ |
H A D | ibcs2_fcntl.c | 266 return (kern_fcntl(td, uap->fd, F_DUPFD, arg));
|
/freebsd-10.3-release/contrib/sendmail/libmilter/ |
H A D | listener.c | 880 dupfd = fcntl(connfd, F_DUPFD, 256);
|
/freebsd-10.3-release/contrib/ntp/lib/isc/unix/ |
H A D | socket.c | 2282 #ifdef F_DUPFD 2289 new = fcntl(sock->fd, F_DUPFD, manager->reserved); 2297 new = fcntl(sock->fd, F_DUPFD, 20); 3145 #ifdef F_DUPFD 3151 new = fcntl(fd, F_DUPFD, 20);
|
/freebsd-10.3-release/contrib/bmake/ |
H A D | job.c | 436 fd = fcntl(job->jobPipe[i], F_DUPFD, minfd);
|
/freebsd-10.3-release/sys/compat/linux/ |
H A D | linux_file.c | 1280 return (kern_fcntl(td, args->fd, F_DUPFD, args->arg));
|
/freebsd-10.3-release/usr.bin/truss/ |
H A D | syscalls.c | 466 X(F_DUPFD) X(F_GETFD) X(F_SETFD) X(F_GETFL) X(F_SETFL)
|
/freebsd-10.3-release/sys/kern/ |
H A D | kern_descrip.c | 503 case F_DUPFD: 818 * Common code for dup, dup2, fcntl(F_DUPFD) and fcntl(F_DUP2FD). 836 * dup to. Unlike dup() and dup2(), fcntl()'s F_DUPFD should
|