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()1138 memmove(&tapebuf[-TP_BSIZE], in readtape()1150 i = rmtread(&tapebuf[rd], cnt); in readtape()1153 i = read(mt, &tapebuf[rd], cnt); in readtape()1208 memset(tapebuf, 0, i); in readtape()[all …]