FreeBSD/sbin/restore/tape.c
/*
 * Skip a hole in an output file
 */
Skip a hole in an output file
Skip a hole in an output file
static void
skiphole(void (*skip)(char *, size_t), size_t *seekpos)
{
	char buf[MAXBSIZE];
	if (*seekpos > 0) {
		(*skip)(buf, *seekpos);
		*seekpos = 0;
	}
}
static void skiphole ( void ( * skip ) ( char * , size_t ) , size_t * seekpos ) { char buf [ MAXBSIZE ] ; if ( * seekpos > 0 ) { ( * skip ) ( buf , * seekpos ) ; * seekpos = 0 ; } }
Skip a hole in an output file
Skip a hole in an output file