Home
last modified time | relevance | path

Searched refs:F_DUPFD_CLOEXEC (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/sys/
H A Dfcntl.h295 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ macro
/freebsd/tests/sys/file/
H A Ddup_test.c252 if ((fd2 = fcntl(fd1, F_DUPFD_CLOEXEC, 10)) < 0) in main()
/freebsd/bin/sh/
H A Dredir.c138 if ((i = fcntl(fd, F_DUPFD_CLOEXEC, 10)) == -1) { in redirect()
H A Dinput.c375 fd2 = fcntl(fd, F_DUPFD_CLOEXEC, 10); in setinputfile()
H A Djobs.c187 (ttyfd = fcntl(i, F_DUPFD_CLOEXEC, 10)) < 0) { in setjobctl()
197 if ((i = fcntl(ttyfd, F_DUPFD_CLOEXEC, 10)) < 0) { in setjobctl()
/freebsd/cddl/contrib/opensolaris/tests/os-tests/tests/oclo/
H A Doclo.c297 case F_DUPFD_CLOEXEC: in oclo_fdup_common()
339 oclo_fdup_common(c, FD_CLOEXEC, F_DUPFD_CLOEXEC); in oclo_fdupfd_exec()
/freebsd/sys/contrib/libnv/
H A Dbsd_nvpair.c1284 value = fcntl(value, F_DUPFD_CLOEXEC, 0); in nvpair_create_descriptor()
1520 fds[ii] = fcntl(value[ii], F_DUPFD_CLOEXEC, 0); in nvpair_create_descriptor_array()
2033 fd = fcntl(value, F_DUPFD_CLOEXEC, 0); in nvpair_append_descriptor_array()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c2007 #ifdef F_DUPFD_CLOEXEC in tree_dup()
2011 new_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in tree_dup()
/freebsd/sys/compat/linux/
H A Dlinux_file.c1482 return (kern_fcntl(td, args->fd, F_DUPFD_CLOEXEC, args->arg)); in fcntl_common()
/freebsd/sys/kern/
H A Dkern_descrip.c597 case F_DUPFD_CLOEXEC: in kern_fcntl()
/freebsd/libexec/rtld-elf/
H A Drtld.c2892 fd = fcntl(fd_u, F_DUPFD_CLOEXEC, 0); in load_object()