/src/usr.bin/last/ |
want.c | 100 int tempfd; local in function:wtmp 109 tempfd = mkstemp(tfile); 110 if (tempfd < 0) { 122 if (write(tempfd, buf, tlen) != tlen) { 126 wfd = tempfd;
|
want.c | 100 int tempfd; local in function:wtmp 109 tempfd = mkstemp(tfile); 110 if (tempfd < 0) { 122 if (write(tempfd, buf, tlen) != tlen) { 126 wfd = tempfd;
|
/src/libexec/makewhatis/ |
makewhatis.c | 776 int tempfd, bytes, pipefd[2], status; local in function:nroff 789 if ((tempfd = mkstemp(tempname)) == -1) 793 if (write(tempfd, buffer, (size_t)bytes) != bytes) { 799 (void)close(tempfd); 803 if (lseek(tempfd, (off_t)0, SEEK_SET) == (off_t)-1) { 804 (void)close(tempfd); 809 (void)close(tempfd); 818 (void)close(tempfd); 824 if (tempfd != STDIN_FILENO) { 825 (void)dup2(tempfd, STDIN_FILENO) [all...] |
makewhatis.c | 776 int tempfd, bytes, pipefd[2], status; local in function:nroff 789 if ((tempfd = mkstemp(tempname)) == -1) 793 if (write(tempfd, buffer, (size_t)bytes) != bytes) { 799 (void)close(tempfd); 803 if (lseek(tempfd, (off_t)0, SEEK_SET) == (off_t)-1) { 804 (void)close(tempfd); 809 (void)close(tempfd); 818 (void)close(tempfd); 824 if (tempfd != STDIN_FILENO) { 825 (void)dup2(tempfd, STDIN_FILENO) [all...] |