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()
207 if ((oflags & O_CLOEXEC ? _fcntl(f, F_DUP2FD_CLOEXEC, wantfd) : in freopen()
298 #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ macro
302 case F_DUP2FD_CLOEXEC: in oclo_fdup_common()359 oclo_fdup_common(c, FD_CLOEXEC, F_DUP2FD_CLOEXEC); in oclo_fdup2fd_exec()
1744 cmd = F_DUP2FD_CLOEXEC; in linux_dup3()
612 case F_DUP2FD_CLOEXEC: in kern_fcntl()