Searched refs:tapebuf (Results 1 – 1 of 1) sorted by relevance
81 static char *tapebuf; variable190 if (tapebuf != NULL) in newtapebuf()191 free(tapebuf - TP_BSIZE); in newtapebuf()192 tapebuf = malloc((size+1) * TP_BSIZE); in newtapebuf()193 if (tapebuf == NULL) { in newtapebuf()197 tapebuf += TP_BSIZE; in newtapebuf()1140 memmove(&tapebuf[-TP_BSIZE], in readtape()1152 i = rmtread(&tapebuf[rd], cnt); in readtape()1155 i = read(mt, &tapebuf[rd], cnt); in readtape()1210 memset(tapebuf, 0, i); in readtape()[all …]