Home
last modified time | relevance | path

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

/freebsd-12-stable/tests/sys/file/
Ddup_test.c271 if ((fd2 = fcntl(fd1, F_DUP2FD_CLOEXEC, fd1 + 1)) < 0) in main()
303 if ((fd2 = fcntl(fd1, F_DUP2FD_CLOEXEC, rlp.rlim_cur + 1)) >= 0) in main()
/freebsd-12-stable/lib/libc/gen/
Ddup3.c57 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
/freebsd-12-stable/sys/sys/
Dfcntl.h258 #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ macro
/freebsd-12-stable/lib/libc/stdio/
Dfreopen.c209 if ((oflags & O_CLOEXEC ? _fcntl(f, F_DUP2FD_CLOEXEC, wantfd) : in freopen()
/freebsd-12-stable/sys/compat/linux/
Dlinux_file.c1606 cmd = F_DUP2FD_CLOEXEC; in linux_dup3()
/freebsd-12-stable/sys/kern/
Dkern_descrip.c520 case F_DUP2FD_CLOEXEC: in kern_fcntl()