Home
last modified time | relevance | path

Searched refs:F_DUP2FD (Results 1 – 8 of 8) sorted by relevance

/freebsd/tests/sys/file/
H A Ddup_test.c190 if ((fd2 = fcntl(fd1, F_DUP2FD, fd1 + 1)) < 0) in main()
215 if ((fd2 = fcntl(fd1, F_DUP2FD, fd1)) < 0) in main()
242 if ((fd2 = fcntl(fd1, F_DUP2FD, rlp.rlim_cur + 1)) >= 0) in main()
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_fcntl.c58 #ifdef F_DUP2FD
59 { BSM_F_DUP2FD, F_DUP2FD },
/freebsd/sys/security/audit/
H A Dbsm_fcntl.c60 #ifdef F_DUP2FD
61 { BSM_F_DUP2FD, F_DUP2FD },
/freebsd/lib/libc/gen/
H A Ddup3.c54 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
/freebsd/sys/sys/
H A Dfcntl.h252 #define F_DUP2FD 10 /* duplicate file descriptor to arg */ macro
/freebsd/contrib/capsicum-test/
H A Dfcntl.cc180 EXPECT_OK(fcntl(caps[0], F_DUP2FD, newfd)); in TEST()
/freebsd/sys/compat/linux/
H A Dlinux_file.c1681 cmd = F_DUP2FD; in linux_dup3()
/freebsd/sys/kern/
H A Dkern_descrip.c516 case F_DUP2FD: in kern_fcntl()