/src/distrib/vax/tk50/ |
Makefile | 13 tape: target 36 @echo Distribution tape is ready.
|
/src/sys/sys/ |
tape.h | 1 /* $NetBSD: tape.h,v 1.4 2016/01/22 23:44:33 dholland Exp $ */ 60 * Statistics for the tape device - in a separate structure so userland can 64 struct tape { struct 71 struct timeval attachtime; /* time tape was attached */ 75 TAILQ_ENTRY(tape) link; 78 /* Head of the tape stats list, define here so userland can get at it */ 79 TAILQ_HEAD(tapelist_head, tape); /* the tapelist is a TAILQ */
|
/src/usr.sbin/rmt/ |
rmt.c | 62 int tape = -1; variable in typeref:typename:int 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) [all...] |
/src/bin/mt/ |
mt.c | 48 * magnetic tape manipulation program 74 int c_ronly; /* open tape read-only */ 121 const char *tape; local in function:main 126 if ((tape = getenv("TAPE")) == NULL) 127 tape = _PATH_DEFTAPE; 133 tape = optarg; 168 if ((mtfd = open(tape, flags)) < 0) 169 err(2, "%s", tape); 177 the tape. Until then, rewind and seek fro [all...] |
/src/games/adventure/ |
io.c | 176 static const char *tape = iotape; /* pointer to encryption tape */ variable in typeref:typename:const char * 186 if (*tape == 0) 187 tape = iotape; /* rewind encryption tape */ 188 *inptr = ch ^ *tape++; /* re-encrypt and replace value */ 278 tape = iotape; /* restart encryption tape */ 547 tape = iotape; /* restart decryption tape */ [all...] |
/src/sbin/dump/ |
main.c | 80 const char *tape; variable in typeref:typename:const char * 111 u_int64_t blockswritten; /* number of blocks written on current tape */ 112 int tapeno; /* current tape number */ 114 int ntrec = NTREC; /* # tape blocks in each tape record */ 115 int cartridge; /* Assume non-cartridge tape */ 158 if ((tape = getenv("TAPE")) == NULL) 159 tape = _PATH_DEFTAPE; 189 case 'b': /* blocks per tape write * [all...] |