Searched refs:tfd (Results 1 – 2 of 2) sorted by relevance
453 int tfd; in file_pipe2file() local459 tfd = open(ptr, O_RDWR|O_TRUNC|O_EXCL|O_CREAT, 0600); in file_pipe2file()468 tfd = mkstemp(buf); in file_pipe2file()475 if (tfd == -1) { in file_pipe2file()481 if (swrite(tfd, startbuf, nbytes) != CAST(ssize_t, nbytes)) in file_pipe2file()485 if (swrite(tfd, buf, CAST(size_t, r)) != r) in file_pipe2file()505 if ((fd = dup2(tfd, fd)) == -1) { in file_pipe2file()509 (void)close(tfd); in file_pipe2file()
1433 (void)close(tfd);
Completed in 9 milliseconds