Home
last modified time | relevance | path

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

/freebsd-14.2/sys/sys/
H A Dfcntl.h265 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ macro
/freebsd-14.2/tests/sys/file/
H A Ddup_test.c250 if ((fd2 = fcntl(fd1, F_DUPFD_CLOEXEC, 10)) < 0) in main()
/freebsd-14.2/bin/sh/
H A Dredir.c144 if ((i = fcntl(fd, F_DUPFD_CLOEXEC, 10)) == -1) { in redirect()
H A Dinput.c379 fd2 = fcntl(fd, F_DUPFD_CLOEXEC, 10); in setinputfile()
H A Djobs.c191 (ttyfd = fcntl(i, F_DUPFD_CLOEXEC, 10)) < 0) { in setjobctl()
201 if ((i = fcntl(ttyfd, F_DUPFD_CLOEXEC, 10)) < 0) { in setjobctl()
/freebsd-14.2/sys/contrib/libnv/
H A Dbsd_nvpair.c1285 value = fcntl(value, F_DUPFD_CLOEXEC, 0); in nvpair_create_descriptor()
1521 fds[ii] = fcntl(value[ii], F_DUPFD_CLOEXEC, 0); in nvpair_create_descriptor_array()
2034 fd = fcntl(value, F_DUPFD_CLOEXEC, 0); in nvpair_append_descriptor_array()
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c2100 #ifdef F_DUPFD_CLOEXEC in tree_dup()
2104 new_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in tree_dup()
/freebsd-14.2/sys/compat/linux/
H A Dlinux_file.c1427 return (kern_fcntl(td, args->fd, F_DUPFD_CLOEXEC, args->arg)); in fcntl_common()
/freebsd-14.2/sys/kern/
H A Dkern_descrip.c513 case F_DUPFD_CLOEXEC: in kern_fcntl()
/freebsd-14.2/libexec/rtld-elf/
H A Drtld.c2759 fd = fcntl(fd_u, F_DUPFD_CLOEXEC, 0); in load_object()