Searched refs:tapebuf (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/sbin/restore/
H A Dtape.c65 static char *tapebuf; variable
180 free(tapebuf);
181 tapebuf = calloc(size, TP_BSIZE);
182 if (tapebuf == NULL)
841 memcpy(buf, &tapebuf[(blkcnt++ * TP_BSIZE)], TP_BSIZE);
847 ((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0;
855 i = rmtread(&tapebuf[rd], cnt);
858 i = read(mt, &tapebuf[rd], cnt);
913 memset(tapebuf, 0, i);
941 memcpy(&tapebuf[r
[all...]

Completed in 163 milliseconds