1: #define MAINLINE
   2: #include "parms.h"
   3: #include "structs.h"
   4: 
   5: #ifdef  RCSIDENT
   6: static char rcsid[] = "$Header: nfdump.c,v 1.7.0.1 85/10/09 18:07:40 notes Rel $";
   7: #endif	RCSIDENT
   8: 
   9: main (argc, argv)
  10: int     argc;
  11: char  **argv;
  12: {
  13:     int     i;
  14:     if (argc != 2)
  15:     {
  16:     printf ("Usage: %s notesfile\n", argv[0]);
  17:     exit (1);
  18:     }
  19: 
  20:     startup (argc, argv);
  21: 
  22:     /*
  23:      * the "-" is vestigal from the days when this routine
  24:      * accepted a file. we force it out stdout now.
  25:      * it would be nice to have /dev/stdout type names
  26:      * or to merely change the arg to be a file descriptor
  27:      */
  28:     i = dumpnf (argv[1], "-");
  29:     fprintf (stderr, "dumpnf returned %d\n", i);
  30:     exit (0);
  31: }

Defined functions

main defined in line 9; never used

Defined variables

rcsid defined in line 6; never used

Defined macros

MAINLINE defined in line 1; never used
Last modified: 1985-10-30
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 662
Valid CSS Valid XHTML 1.0 Strict