home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
STerm_src.lzh
/
getopt.h
< prev
next >
Wrap
Text File
|
1984-12-17
|
1KB
|
30 lines
/*
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 */