home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / utilities / print / pspager.lha / psp / include / getopt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-25  |  721 b   |  20 lines

  1. #ifndef _GETOPT_H
  2. #define _GETOPT_H
  3. /*                                                      
  4. **      $VER: getopt.h 1.0 (10.1.94)             
  5. **                                                      
  6. **      Command line option parsing utilities.
  7. **                                                      
  8. **      (C) Copyright 1994 Rainer Koppler
  9. */
  10.  
  11. extern char *optarg;  /* argument of the current option */
  12. extern int   optind;  /* index of first non-option argument (after EOF) */
  13. extern int   optopt;  /* option character found at last call of getopt() */
  14. extern int   opterr;  /* set by user, !=0: getopt() prints error messages */
  15.  
  16. extern int getopt(int argc, char *argv[], char *optString);
  17.  
  18.  
  19. #endif /*_GETOPT_H*/
  20.