Lines Matching defs:tape
30 * Has three locks (for stdin, stdout, and the tape)
114 static int tape = -1;
217 rval = llseek(tape, atoll(count), atoi(pos));
269 rval = (offset_t)ioctl(tape, MTIOCTOP,
294 rval = (offset_t)ioctl(tape, MTIOCGET, (char *)&mtget);
375 rval = (offset_t)write(tape, record, n);
389 rval = (offset_t)read(tape, record, n);
422 rval = (offset_t)close(tape);
430 (void) close(tape);
442 tape = open(device, O_LARGEFILE |
444 respond((offset_t)tape, errno);
445 if (tape >= 0) /* fork off */