Searched refs:tempfd (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_entry_from_file.c | 290 int tempfd = -1; local 335 tempfd = mkstemp(tempfile.s); 336 if (tempfd < 0) { 342 __archive_ensure_cloexec_flag(tempfd); 354 if (fstat(tempfd, ©file_stat)) { 367 if (copyfile_stat.st_size != read(tempfd, buff, copyfile_stat.st_size)) { 376 if (tempfd >= 0) { 377 close(tempfd);
|
/freebsd-10.0-release/usr.bin/mail/ |
H A D | collect.c | 339 int nullfd, tempfd, rc; local 350 if ((tempfd = mkstemp(tempname2)) == -1 || 351 (fbuf = Fdopen(tempfd, "w+")) == NULL) {
|
/freebsd-10.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 166 int errcnt, jobcount, statok, tempfd; local 254 if ((tempfd = mkstemp(tempstderr)) == -1) { 259 if ((i = fchmod(tempfd, 0664)) == -1) { 265 close(tempfd);
|
Completed in 136 milliseconds