view 3rdparty/packages/uucpbb/src/getopt.h @ 3226:9749d0dfc4a2

Changed a puls PC to rts to save cycles
author David Ladd <drencor-xeen@users.sourceforge.net>
date Sat, 20 Jan 2018 19:32:22 -0600
parents 5ba8e711a1a3
children
line wrap: on
line source

/*
     From: The C Users Journal - June 1991 p.75-87   New GETOPT(3)
*/

#ifndef getopt_h_DEFINED
#define getopt_h_DEFINED


/*************************************************************************
     This INCLUDE file contains the external definitions for the GETOPT(3)
     function and its global variables.
*************************************************************************/


extern  int  getopt();              /* Function to get command line options */

extern  char *optarg;               /* Set by GETOPT for options expecting 
                                           arguments */
extern  int  optind;                /* Set by GETOPT; index of next ARGV to
                                           be processed. */
extern  int  opterr;                /* Disable (== 0) or enable (!= 0) error
                                          messages written to standard error */

#define NONOPT  (-1)                /* Non-option - returned by GETOPT when
                                        it encounters a non-option argument. */

#endif /* getopt_h_DEFINED */

/* End of File */