Searched refs:F_DUPFD_CLOEXEC (Results 1 – 11 of 11) sorted by relevance
| /freebsd/sys/sys/ |
| H A D | fcntl.h | 295 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ macro
|
| /freebsd/tests/sys/file/ |
| H A D | dup_test.c | 252 if ((fd2 = fcntl(fd1, F_DUPFD_CLOEXEC, 10)) < 0) in main()
|
| /freebsd/bin/sh/ |
| H A D | redir.c | 138 if ((i = fcntl(fd, F_DUPFD_CLOEXEC, 10)) == -1) { in redirect()
|
| H A D | input.c | 375 fd2 = fcntl(fd, F_DUPFD_CLOEXEC, 10); in setinputfile()
|
| H A D | jobs.c | 187 (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 D | oclo.c | 297 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 D | bsd_nvpair.c | 1284 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 D | archive_read_disk_posix.c | 2007 #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 D | linux_file.c | 1482 return (kern_fcntl(td, args->fd, F_DUPFD_CLOEXEC, args->arg)); in fcntl_common()
|
| /freebsd/sys/kern/ |
| H A D | kern_descrip.c | 597 case F_DUPFD_CLOEXEC: in kern_fcntl()
|
| /freebsd/libexec/rtld-elf/ |
| H A D | rtld.c | 2892 fd = fcntl(fd_u, F_DUPFD_CLOEXEC, 0); in load_object()
|