Searched refs:archivefd (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 148 static int archivefd; /* fd of archive file (proper) */ variable 380 archivefd = safe_file_open(archivefile, O_WRONLY, 0600); in setuparchive() 381 if (archivefd < 0) { in setuparchive() 391 if (lseek64(archivefd, lf_archoffset, 0) < 0) { in setuparchive() 399 if (ftruncate64(archivefd, lf_archoffset) < 0) { in setuparchive() 459 (size = write(archivefd, data, tp_bsize)) in setuparchive() 472 if (fstat64(archivefd, &stats) < 0) in setuparchive() 493 (void) close(archivefd); in setuparchive() 494 archivefd = -1; in setuparchive() 918 lf_archoffset = lseek64(archivefd, (off64_t)0, 2); in rollforward() [all …]
|