| /netbsd/src/external/gpl2/xcvs/dist/lib/ |
| D | dup2.c | 35 #ifndef F_DUPFD 59 #ifdef F_DUPFD in dup2() 60 return fcntl (fd, F_DUPFD, desired_fd); in dup2()
|
| D | dup-safer.c | 42 #ifdef F_DUPFD in dup_safer() 43 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
|
| /netbsd/src/external/bsd/ntp/dist/libntp/ |
| D | socket.c | 60 #if !defined(SYS_WINNT) && defined(F_DUPFD) in move_fd() 104 newfd = fcntl(fd, F_DUPFD, socket_boundary); in move_fd()
|
| /netbsd/src/bin/sh/ |
| D | redir.c | 86 #define F_DUPFD_CLOEXEC F_DUPFD 325 if ((i = fcntl(fd, F_DUPFD, in redirect() 334 i = fcntl(fd, F_DUPFD, in redirect() 339 i = fcntl(fd, F_DUPFD, in redirect() 713 if ((fd = fcntl(0, F_DUPFD, (fcntl_int)(i - 1))) >= 0) { in find_big_fd()
|
| D | eval.c | 160 nfd = fcntl(fds[0], F_DUPFD, 3); in sh_pipe() 168 nfd = fcntl(fds[1], F_DUPFD, 3); in sh_pipe()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | vstream.h | 155 #ifdef F_DUPFD 177 #ifdef F_DUPFD
|
| D | vstream.c | 1698 if (((fd) = fcntl((backup), F_DUPFD, (floor))) < 0) \ in vstream_control()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/master/ |
| D | event_server.c | 405 #if defined(F_DUPFD) && (EVENTS_STYLE != EVENTS_STYLE_SELECT) in event_server_wakeup() 416 if ((new_fd = fcntl(fd, F_DUPFD, THRESHOLD_FD_WORKAROUND)) < 0) in event_server_wakeup()
|
| D | multi_server.c | 384 #if defined(F_DUPFD) && (EVENTS_STYLE != EVENTS_STYLE_SELECT) in multi_server_wakeup() 395 if ((new_fd = fcntl(fd, F_DUPFD, THRESHOLD_FD_WORKAROUND)) < 0) in multi_server_wakeup()
|
| /netbsd/src/sys/sys/ |
| D | fcntl.h | 179 #define F_DUPFD 0 /* duplicate file descriptor */ macro
|
| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_windows.h | 233 #define F_DUPFD 0 /* Duplicate file descriptor. */ macro
|
| /netbsd/src/bin/ksh/ |
| D | sh.h | 94 #define ksh_dupbase(fd, base) fcntl(fd, F_DUPFD, base)
|
| /netbsd/src/bin/dd/ |
| D | dd.c | 355 newfd = io->ops->op_fcntl(fd, F_DUPFD, 3); in redup_clean_fd()
|
| /netbsd/src/sys/kern/ |
| D | sys_descrip.c | 390 case F_DUPFD: in sys_fcntl()
|
| /netbsd/src/external/gpl3/gcc/dist/libiberty/ |
| D | pex-unix.c | 408 new_fd = fcntl (old_fd, F_DUPFD, 3); in save_and_install_fd()
|
| /netbsd/src/lib/librumphijack/ |
| D | hijack.c | 1154 newd = op_fcntl(oldd, F_DUPFD, minfd); in dodup() 1182 fd = op_fcntl(ofd, F_DUPFD, i); in fd_host2host() 1542 case F_DUPFD:
|
| /netbsd/src/external/gpl3/binutils/dist/libiberty/ |
| D | pex-unix.c | 411 new_fd = fcntl (old_fd, F_DUPFD, 3); in save_and_install_fd()
|
| /netbsd/src/external/gpl3/gdb/dist/libiberty/ |
| D | pex-unix.c | 411 new_fd = fcntl (old_fd, F_DUPFD, 3); in save_and_install_fd()
|
| /netbsd/src/sys/compat/linux/common/ |
| D | linux_file.c | 312 cmd = F_DUPFD; in linux_sys_fcntl()
|
| /netbsd/src/usr.bin/kdump/ |
| D | kdump.c | 561 CASERETURN(F_DUPFD); in fcntlname()
|
| /netbsd/src/usr.bin/make/ |
| D | job.c | 653 int fd = fcntl(pipe_fds[i], F_DUPFD, minfd); in JobCreatePipe()
|
| /netbsd/src/external/ibm-public/postfix/dist/ |
| D | HISTORY | 13415 broke with "fcntl F_DUPFD: Invalid argument" on 64-bit
|