Searched refs:F_DUP2FD (Results 1 – 8 of 8) sorted by relevance
/freebsd/tests/sys/file/ |
H A D | dup_test.c | 190 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 D | bsm_fcntl.c | 58 #ifdef F_DUP2FD 59 { BSM_F_DUP2FD, F_DUP2FD },
|
/freebsd/sys/security/audit/ |
H A D | bsm_fcntl.c | 60 #ifdef F_DUP2FD 61 { BSM_F_DUP2FD, F_DUP2FD },
|
/freebsd/lib/libc/gen/ |
H A D | dup3.c | 54 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 252 #define F_DUP2FD 10 /* duplicate file descriptor to arg */ macro
|
/freebsd/contrib/capsicum-test/ |
H A D | fcntl.cc | 180 EXPECT_OK(fcntl(caps[0], F_DUP2FD, newfd)); in TEST()
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1681 cmd = F_DUP2FD; in linux_dup3()
|
/freebsd/sys/kern/ |
H A D | kern_descrip.c | 516 case F_DUP2FD: in kern_fcntl()
|