Home | History | Annotate | Download | only in rmt

Lines Matching defs:tape

62 int	tape = -1;
104 if (tape >= 0)
105 (void) close(tape);
109 tape = open(device, atoi(mode),
111 if (tape < 0)
118 if (close(tape) < 0)
120 tape = -1;
127 rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos));
144 rval = write(tape, record, n);
154 rval = read(tape, record, n);
171 if (ioctl(tape, MTIOCTOP, (char *)&mtop) < 0)
182 if (ioctl(tape, MTIOCGET, (char *)&mtget) < 0)