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

Defined functions

main defined in line 5; never used

Defined variables

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