FreeBSD/sbin/restore/tape.c
/*
 * Write out the next block of a file.
 */
Write out the next block of a file.
Write out the next block of a file .
static void
xtrfile(char *buf, size_t size)
{
	if (Nflag)
		return;
	if (write(ofile, buf, (int) size) == -1) {
		fprintf(stderr,
		    "write error extracting inode %ju, name %s\nwrite: %s\n",
		    (uintmax_t)curfile.ino, curfile.name, strerror(errno));
	}
}
static void xtrfile ( char * buf , size_t size ) { if ( Nflag ) return ; if ( write ( ofile , buf , ( int ) size ) == -1 ) { fprintf ( stderr , " \n \n " , ( uintmax_t ) curfile . ino , curfile . name , strerror ( errno ) ) ; } }
Write out the next block of a file.
Write out the next block of a file .