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