Home
last modified time | relevance | path

Searched refs:F_DUP2FD_CLOEXEC (Results 1 – 6 of 6) sorted by relevance

/freebsd/lib/libc/gen/
H A Ddup3.c54 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
/freebsd/tests/sys/file/
H A Ddup_test.c269 if ((fd2 = fcntl(fd1, F_DUP2FD_CLOEXEC, fd1 + 1)) < 0) in main()
301 if ((fd2 = fcntl(fd1, F_DUP2FD_CLOEXEC, rlp.rlim_cur + 1)) >= 0) in main()
/freebsd/sys/sys/
H A Dfcntl.h266 #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ macro
/freebsd/lib/libc/stdio/
H A Dfreopen.c203 if ((oflags & O_CLOEXEC ? _fcntl(f, F_DUP2FD_CLOEXEC, wantfd) : in freopen()
/freebsd/sys/compat/linux/
H A Dlinux_file.c1679 cmd = F_DUP2FD_CLOEXEC; in linux_dup3()
/freebsd/sys/kern/
H A Dkern_descrip.c521 case F_DUP2FD_CLOEXEC: in kern_fcntl()