Searched refs:tempfd (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/ |
| H A D | dup2.c | 113 int tempfd; in klibc_dup2dirfd() local 116 tempfd = open ("NUL", O_RDONLY); in klibc_dup2dirfd() 117 if (tempfd == -1) in klibc_dup2dirfd() 120 if (tempfd == desired_fd) in klibc_dup2dirfd() 122 close (tempfd); in klibc_dup2dirfd() 133 close (tempfd); in klibc_dup2dirfd()
|
| /netbsd-src/libexec/makewhatis/ |
| H A D | makewhatis.c | 776 int tempfd, bytes, pipefd[2], status; in nroff() local 789 if ((tempfd = mkstemp(tempname)) == -1) in nroff() 793 if (write(tempfd, buffer, (size_t)bytes) != bytes) { in nroff() 799 (void)close(tempfd); in nroff() 803 if (lseek(tempfd, (off_t)0, SEEK_SET) == (off_t)-1) { in nroff() 804 (void)close(tempfd); in nroff() 809 (void)close(tempfd); in nroff() 818 (void)close(tempfd); in nroff() 824 if (tempfd != STDIN_FILENO) { in nroff() 825 (void)dup2(tempfd, STDIN_FILENO); in nroff() [all …]
|
| /netbsd-src/usr.bin/last/ |
| H A D | want.c | 100 int tempfd; in wtmp() local 109 tempfd = mkstemp(tfile); in wtmp() 110 if (tempfd < 0) { in wtmp() 122 if (write(tempfd, buf, tlen) != tlen) { in wtmp() 126 wfd = tempfd; in wtmp()
|
| /netbsd-src/external/gpl3/gdb.old/dist/gdb/ |
| H A D | ChangeLog-1996 | 1984 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/ |
| H A D | ChangeLog-1996 | 1984 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
|
| /netbsd-src/external/bsd/am-utils/dist/ |
| H A D | ChangeLog | 3017 stdin/stdout/stderr failed. No need for tempfd.
|