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: }

Defined functions

main defined in line 3; never used

Defined variables

sccsid defined in line 1; never used
Last modified: 1982-06-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 813
Valid CSS Valid XHTML 1.0 Strict