1: char module[] = "cat";      /* module name -- used by trap */
   2: main()
   3: {
   4:     int c, i;
   5:     char buf[50];
   6: 
   7:     printf("%s\n",module);
   8:     do {
   9:         printf("File: ");
  10:         gets(buf);
  11:         i = open(buf, 0);
  12:     } while (i <= 0);
  13: 
  14:     while ((c = getc(i)) > 0)
  15:         putchar(c);
  16:     exit(0);
  17: }

Defined functions

main defined in line 2; never used

Defined variables

module defined in line 1; used 2 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 653
Valid CSS Valid XHTML 1.0 Strict