Searched refs:F_DUP2FD_CLOEXEC (Results 1 – 6 of 6) sorted by relevance
271 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()
57 how = (flags & O_CLOEXEC) ? F_DUP2FD_CLOEXEC : F_DUP2FD; in __dup3()
258 #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ macro
209 if ((oflags & O_CLOEXEC ? _fcntl(f, F_DUP2FD_CLOEXEC, wantfd) : in freopen()
1606 cmd = F_DUP2FD_CLOEXEC; in linux_dup3()
520 case F_DUP2FD_CLOEXEC: in kern_fcntl()