projects
/
unix-history
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
BSD 3 development
[unix-history]
/
usr
/
src
/
cmd
/
rewind.c
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
/* rewinds mag tape drive */
2
main(argc,argv) char**argv; {
3
char *f;
4
int fd;
5
6
if (argc > 1) f = argv[1];
7
else f = "/dev/mt0";
8
9
fd = open(f,0);
10
if (fd < 0) printf("Can't open %s\n",f);
11
else close(fd);
12
}