Searched refs:tapebuf (Results 1 – 1 of 1) sorted by relevance
79 static char *tapebuf; variable188 if (tapebuf != NULL) in newtapebuf()189 free(tapebuf - TP_BSIZE); in newtapebuf()190 tapebuf = malloc((size+1) * TP_BSIZE); in newtapebuf()191 if (tapebuf == NULL) { in newtapebuf()195 tapebuf += TP_BSIZE; in newtapebuf()1132 memmove(buf, &tapebuf[(blkcnt++ * TP_BSIZE) + byteslide], (long)TP_BSIZE); in readtape()1138 memmove(&tapebuf[-TP_BSIZE], in readtape()1139 &tapebuf[(numtrec-1) * TP_BSIZE], (long)TP_BSIZE); in readtape()1142 ((struct s_spcl *)&tapebuf[i * TP_BSIZE])->c_magic = 0; in readtape()[all …]