Searched refs:tfd (Results 1 – 2 of 2) sorted by relevance
423 int tfd; in file_pipe2file() local429 tfd = open(ptr, O_RDWR|O_TRUNC|O_EXCL|O_CREAT, 0600); in file_pipe2file()437 tfd = mkstemp(buf); in file_pipe2file()444 if (tfd == -1) { in file_pipe2file()450 if (swrite(tfd, startbuf, nbytes) != CAST(ssize_t, nbytes)) in file_pipe2file()454 if (swrite(tfd, buf, CAST(size_t, r)) != r) in file_pipe2file()474 if ((fd = dup2(tfd, fd)) == -1) { in file_pipe2file()478 (void)close(tfd); in file_pipe2file()
1513 tfd = mkstemp(buf);1519 (void)close(tfd);
Completed in 12 milliseconds