home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / misc / sci / units / source / getopt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-28  |  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.