Lines Matching refs:magtape
36 char magtape[BUFSIZ];
110 if (strlen(tape) > (sizeof (magtape) - 1)) {
114 (void) strcpy(magtape, tape);
118 if (strlen(source) > (sizeof (magtape) - 1)) {
154 (void) strcpy(magtape, source);
200 if ((mt = rmtopen(magtape, O_RDONLY)) < 0) {
201 perror(magtape);
208 else if ((mt = open(magtape, O_RDONLY|O_LARGEFILE)) < 0) {
209 perror(magtape);
533 newvol, host, magtape);
537 newvol, magtape);
547 (void) strncpy(magtape, tbf, sizeof (magtape));
548 magtape[sizeof (magtape) - 1] = '\0';
550 i = (int)strlen(magtape);
551 if (magtape[i - 1] == '\n')
552 magtape[i - 1] = '\0';
554 if ((host != NULL && (mt = rmtopen(magtape, O_RDONLY)) == -1) ||
556 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) {
559 magtape, strerror(error));
2081 if (rmtopen(magtape, O_RDONLY) >= 0) {
2087 if ((fd = open(magtape, O_RDONLY|O_LARGEFILE,
2102 (mt = rmtopen(magtape, O_RDONLY)) == -1) ||
2104 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) {