Searched refs:F_DUP2FD (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/tests/sys/file/ |
| H A D | dup_test.c | 192 if ((fd2 = fcntl(fd1, F_DUP2FD, fd1 + 1)) < 0) in main() 217 if ((fd2 = fcntl(fd1, F_DUP2FD, fd1)) < 0) in main() 244 if ((fd2 = fcntl(fd1, F_DUP2FD, rlp.rlim_cur + 1)) >= 0) in main()
|
| /freebsd-12.1/sys/security/audit/ |
| H A D | bsm_fcntl.c | 63 #ifdef F_DUP2FD 64 { BSM_F_DUP2FD, F_DUP2FD },
|
| /freebsd-12.1/contrib/openbsm/libbsm/ |
| H A D | bsm_fcntl.c | 58 #ifdef F_DUP2FD 59 { BSM_F_DUP2FD, F_DUP2FD },
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | dup3.c | 57 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
|
| /freebsd-12.1/sys/sys/ |
| H A D | fcntl.h | 233 #define F_DUP2FD 10 /* duplicate file descriptor to arg */ macro
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_file.c | 1671 cmd = F_DUP2FD; in linux_dup3()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_descrip.c | 515 case F_DUP2FD: in kern_fcntl()
|