FreeBSD/sbin/restore/dirs.c
/*
 * flush out a directory that is finished.
 */
flush out a directory that is finished.
flush out a directory that is finished .
static void
flushent(void)
{
	((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ - prev;
	if (fwrite(dirbuf, (int)dirloc, 1, df) != 1)
		fail_dirtmp(dirfile);
	seekpt = ftell(df);
	dirloc = 0;
}
static void flushent ( void ) { ( ( struct direct * ) ( dirbuf + prev ) ) -> d_reclen = DIRBLKSIZ - prev ; if ( fwrite ( dirbuf , ( int ) dirloc , 1 , df ) != 1 ) fail_dirtmp ( dirfile ) ; seekpt = ftell ( df ) ; dirloc = 0 ; }
flush out a directory that is finished.
flush out a directory that is finished .