Home
last modified time | relevance | path

Searched refs:F_DUPFD (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/ntp/libntp/
H A Dsocket.c58 #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 Dbsd-pselect.c65 if ((r = fcntl(*fd, F_DUPFD, REEXEC_MIN_FREE_FD)) < 0 || in pselect_notify_setup_fd()
/freebsd/sys/sys/
H A Dfcntl.h239 #define F_DUPFD 0 /* duplicate file descriptor */ macro
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_fcntl.c45 { BSM_F_DUPFD, F_DUPFD },
/freebsd/sys/security/audit/
H A Dbsm_fcntl.c47 { BSM_F_DUPFD, F_DUPFD },
/freebsd/contrib/diff/src/
H A Dsystem.h106 # define dup2(f, t) (close (t), fcntl (f, F_DUPFD, t))
/freebsd/tests/sys/file/
H A Ddup_test.c164 if ((fd2 = fcntl(fd1, F_DUPFD, 10)) < 0) in main()
H A Dpath_test.c571 pathfd2 = fcntl(pathfd, F_DUPFD, 0); in ATF_TC_BODY()
/freebsd/lib/libc/rpc/
H A Dclnt_generic.c426 if ((nfd = _fcntl(fd, F_DUPFD, __rpc_minfd)) == -1) in __rpc_raise_fd()
/freebsd/contrib/capsicum-test/
H A Dfcntl.cc171 int newfd = fcntl(caps[0], F_DUPFD, 0); in TEST()
/freebsd/contrib/sendmail/libmilter/
H A Dlistener.c880 dupfd = fcntl(connfd, F_DUPFD, 256);
/freebsd/contrib/ofed/librdmacm/
H A Dpreload.c1079 case F_DUPFD: in fcntl()
/freebsd/contrib/bmake/
H A Djob.c566 fd = fcntl(pipe_fds[i], F_DUPFD, minfd); in JobCreatePipe()
/freebsd/sys/compat/linux/
H A Dlinux_file.c1318 return (kern_fcntl(td, args->fd, F_DUPFD, args->arg)); in fcntl_common()
/freebsd/sys/kern/
H A Dkern_descrip.c506 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()