version 1.2, 2008/06/26 05:42:04 |
version 1.3, 2013/11/22 21:32:49 |
|
|
#include <sys/cdefs.h> |
#include <sys/cdefs.h> |
|
|
/* |
/* |
* GNU-like getopt_long() and 4.4BSD getsubopt()/optreset extensions |
* GNU-like getopt_long() |
*/ |
*/ |
#define no_argument 0 |
#define no_argument 0 |
#define required_argument 1 |
#define required_argument 1 |
|
|
#ifndef _GETOPT_DEFINED_ |
#ifndef _GETOPT_DEFINED_ |
#define _GETOPT_DEFINED_ |
#define _GETOPT_DEFINED_ |
int getopt(int, char * const *, const char *); |
int getopt(int, char * const *, const char *); |
int getsubopt(char **, char * const *, char **); |
|
|
|
extern char *optarg; /* getopt(3) external variables */ |
extern char *optarg; /* getopt(3) external variables */ |
extern int opterr; |
extern int opterr; |
extern int optind; |
extern int optind; |
extern int optopt; |
extern int optopt; |
extern int optreset; |
extern int optreset; |
extern char *suboptarg; /* getsubopt(3) external variable */ |
|
#endif |
#endif |
__END_DECLS |
__END_DECLS |
|
|