Searched refs:F_DUPFD_CLOEXEC (Results 1 - 12 of 12) sorted by path
/freebsd-11-stable/bin/sh/ |
H A D | redir.c | 144 if ((i = fcntl(fd, F_DUPFD_CLOEXEC, 10)) == -1) {
|
H A D | input.c | 367 fd2 = fcntl(fd, F_DUPFD_CLOEXEC, 10);
|
H A D | jobs.c | 192 (ttyfd = fcntl(i, F_DUPFD_CLOEXEC, 10)) < 0) { 202 if ((i = fcntl(ttyfd, F_DUPFD_CLOEXEC, 10)) < 0) {
|
/freebsd-11-stable/tests/sys/file/ |
H A D | dup_test.c | 32 * Test #18: check if fcntl(F_DUPFD_CLOEXEC) works. 33 * Test #19: check if fcntl(F_DUPFD_CLOEXEC) set close-on-exec flag for duped 251 /* Does fcntl(F_DUPFD_CLOEXEC) work? */ 252 if ((fd2 = fcntl(fd1, F_DUPFD_CLOEXEC, 10)) < 0) 253 err(1, "fcntl(F_DUPFD_CLOEXEC)"); 255 printf("not ok %d - fcntl(F_DUPFD_CLOEXEC) returned wrong fd %d\n", 258 printf("ok %d - fcntl(F_DUPFD_CLOEXEC) works\n", ++test); 264 "not ok %d - fcntl(F_DUPFD_CLOEXEC) didn't set close-on-exec\n", 267 printf("ok %d - fcntl(F_DUPFD_CLOEXEC) set close-on-exec\n",
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 2081 #ifdef F_DUPFD_CLOEXEC 2085 new_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); 2088 /* Linux 2.6.18 - 2.6.23 declare F_DUPFD_CLOEXEC, 2090 /* We won't try F_DUPFD_CLOEXEC. */ 2093 #endif /* F_DUPFD_CLOEXEC */
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/ |
H A D | Fcntl.h | 21 #define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6) macro
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | ProcessFreeBSD.cpp | 410 #ifdef F_DUPFD_CLOEXEC 411 int stdio = fcntl(terminal, F_DUPFD_CLOEXEC, 0); 417 // Special case when F_DUPFD_CLOEXEC does not exist (Debian kFreeBSD)
|
/freebsd-11-stable/libexec/rtld-elf/ |
H A D | rtld.c | 2503 fd = fcntl(fd_u, F_DUPFD_CLOEXEC, 0);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_file.c | 1430 return (kern_fcntl(td, args->fd, F_DUPFD_CLOEXEC, args->arg));
|
/freebsd-11-stable/sys/contrib/libnv/ |
H A D | nvpair.c | 1283 value = fcntl(value, F_DUPFD_CLOEXEC, 0); 1524 fds[ii] = fcntl(value[ii], F_DUPFD_CLOEXEC, 0); 2041 fd = fcntl(value, F_DUPFD_CLOEXEC, 0);
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_descrip.c | 503 case F_DUPFD_CLOEXEC:
|
/freebsd-11-stable/sys/sys/ |
H A D | fcntl.h | 244 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ macro
|
Completed in 337 milliseconds