Annotation of 41BSD/cmd/rewind.c, revision 1.1.1.1

1.1       root        1: static char *sccsid = "@(#)rewind.c    4.1 (Berkeley) 10/1/80";
                      2: /* rewinds mag tape drive */
                      3: main(argc,argv) char**argv; {
                      4:        char *f;
                      5:        int fd;
                      6: 
                      7:        if (argc > 1) f = argv[1];
                      8:                else  f = "/dev/mt0";
                      9: 
                     10:        fd = open(f,0);
                     11:        if (fd < 0) printf("Can't open %s\n",f);
                     12:                else close(fd);
                     13: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.