Home
last modified time | relevance | path

Searched refs:tifd (Results 1 – 1 of 1) sorted by relevance

/netbsd/src/usr.bin/patch/
Dinp.c66 static int tifd = -1; /* plan b virtual string array */ variable
95 close(tifd); in re_input()
96 tifd = -1; in re_input()
398 if ((tifd = open(TMPINNAME, O_EXCL | O_CREAT | O_WRONLY, 0666)) < 0) in plan_b()
444 if (write(tifd, tibuf[0], BUFFERSIZE) < BUFFERSIZE) in plan_b()
449 if (write(tifd, tibuf[0], BUFFERSIZE) < BUFFERSIZE) in plan_b()
459 close(tifd); in plan_b()
460 if ((tifd = open(TMPINNAME, O_RDONLY)) < 0) in plan_b()
490 if (lseek(tifd, (off_t) (baseline / lines_per_buf * in ifetch()
494 if (read(tifd, tibuf[whichbuf], BUFFERSIZE) < 0) in ifetch()