fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
getoptb.h
Go to the documentation of this file.
1#ifndef BGETOPT_H
2#define BGETOPT_H
3
4/*
5 * Revision 20240731, Erwin Hoffmann
6 * - added getoptb() prototype
7 * Revision 20160714, Kai Peter
8 * - consolidated 'sgetopt.h' and 'subgetopt.h' into '(b)getopt.h'
9*/
10
11#define optarg subgetoptarg
12#define optind subgetoptind
13#define optpos subgetoptpos
14#define optproblem subgetoptproblem
15#define optprogname subgetoptprogname
16#define opteof subgetoptdone
17
18#define SUBGETOPTDONE -1
19
20extern int getoptb(int,char **,char *);
21
22extern int subgetopt(int,char **,char *);
23extern char *subgetoptarg;
24extern int subgetoptind;
25extern int subgetoptpos;
26extern int subgetoptproblem;
27extern char *subgetoptprogname;
28extern int subgetoptdone;
29
30extern int opterr;
31
32#endif
int subgetopt(int, char **, char *)
Definition: getoptb.c:52
int getoptb(int, char **, char *)
Definition: getoptb.c:17
int subgetoptdone
int subgetoptind
int subgetoptproblem
char * subgetoptprogname
char * subgetoptarg
int subgetoptpos
int opterr
Definition: getoptb.c:14