home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / misc / units-1.0.lha / Units / source / getopt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-29  |  336 b   |  11 lines

  1. #ifndef GETOPT_H
  2. #define GETOPT_H
  3. #include "proto.h"                /* define PROTO */
  4.  
  5. int getopt PROTO((int, char **, char *));
  6. extern char *optarg;                /* current argv string */
  7. extern int optind;                /* current argv index */
  8. extern int optopt;                /* option character */
  9. extern int opterr;                /* getopt prints errors if 1 */
  10. #endif /* GETOPT_H */
  11.