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

Defined functions

main defined in line 10; never used

Defined variables

rcsid defined in line 7; never used

Defined macros

MAINLINE defined in line 1; never used
Last modified: 1986-07-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1874
Valid CSS Valid XHTML 1.0 Strict