Searched refs:F_DUPFD (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/ntp/libntp/ |
H A D | socket.c | 58 #if !defined(SYS_WINNT) && defined(F_DUPFD) in move_fd() 102 newfd = fcntl(fd, F_DUPFD, socket_boundary); in move_fd() 119 #endif /* !defined(SYS_WINNT) && defined(F_DUPFD) */ in move_fd()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-pselect.c | 65 if ((r = fcntl(*fd, F_DUPFD, REEXEC_MIN_FREE_FD)) < 0 || in pselect_notify_setup_fd()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 239 #define F_DUPFD 0 /* duplicate file descriptor */ macro
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_fcntl.c | 45 { BSM_F_DUPFD, F_DUPFD },
|
/freebsd/sys/security/audit/ |
H A D | bsm_fcntl.c | 47 { BSM_F_DUPFD, F_DUPFD },
|
/freebsd/contrib/diff/src/ |
H A D | system.h | 106 # define dup2(f, t) (close (t), fcntl (f, F_DUPFD, t))
|
/freebsd/tests/sys/file/ |
H A D | dup_test.c | 164 if ((fd2 = fcntl(fd1, F_DUPFD, 10)) < 0) in main()
|
H A D | path_test.c | 571 pathfd2 = fcntl(pathfd, F_DUPFD, 0); in ATF_TC_BODY()
|
/freebsd/lib/libc/rpc/ |
H A D | clnt_generic.c | 426 if ((nfd = _fcntl(fd, F_DUPFD, __rpc_minfd)) == -1) in __rpc_raise_fd()
|
/freebsd/contrib/capsicum-test/ |
H A D | fcntl.cc | 171 int newfd = fcntl(caps[0], F_DUPFD, 0); in TEST()
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | listener.c | 880 dupfd = fcntl(connfd, F_DUPFD, 256);
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | preload.c | 1079 case F_DUPFD: in fcntl()
|
/freebsd/contrib/bmake/ |
H A D | job.c | 566 fd = fcntl(pipe_fds[i], F_DUPFD, minfd); in JobCreatePipe()
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1318 return (kern_fcntl(td, args->fd, F_DUPFD, args->arg)); in fcntl_common()
|
/freebsd/sys/kern/ |
H A D | kern_descrip.c | 506 case F_DUPFD: in kern_fcntl() 928 * Common code for dup, dup2, fcntl(F_DUPFD) and fcntl(F_DUP2FD). 952 * dup to. Unlike dup() and dup2(), fcntl()'s F_DUPFD should in kern_dup()
|