Searched refs:tfd (Results 1 – 2 of 2) sorted by relevance
457 int tfd; in file_pipe2file() local477 tfd = open(ptr, O_RDWR|O_TRUNC|O_EXCL|O_CREAT, 0600); in file_pipe2file()486 tfd = mkstemp(buf); in file_pipe2file()493 if (tfd == -1) { in file_pipe2file()499 if (swrite(tfd, startbuf, nbytes) != CAST(ssize_t, nbytes)) in file_pipe2file()503 if (swrite(tfd, buf, CAST(size_t, r)) != r) in file_pipe2file()523 if ((fd = dup2(tfd, fd)) == -1) { in file_pipe2file()527 (void)close(tfd); in file_pipe2file()
1295 (void)close(tfd);
Completed in 18 milliseconds