home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / CC21.ZIP / GETOPT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-27  |  428 b   |  13 lines

  1. /*
  2.  * Allusions for AT&T's public domain getopt() function.
  3.  *
  4.  *    opterr - flag to tell getopt() to report errors (if non-zero).
  5.  *    optind - index to next variable in argv[] to be processed,
  6.  *    optarg - points to string accompanying an option.
  7.  *
  8.  * Look at sample code to get an idea of getopt()'s functionality.
  9.  */
  10. extern int opterr, optind;
  11. extern char *optarg;
  12. extern int getopt(int, char **, char *);
  13.