OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:tempfd
(Results
1 - 2
of
2
) sorted by relevancy
/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
;
/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
...]
Completed in 52 milliseconds
Indexes created Fri Sep 26 20:09:58 GMT 2025