blob: 33e7cc4831078fe2e9d4e0a63e2581469f75345c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef BGETOPT_H
#define BGETOPT_H
/*
* Revision 20240731, Erwin Hoffmann
* - added getoptb() prototype
* Revision 20160714, Kai Peter
* - consolidated 'sgetopt.h' and 'subgetopt.h' into '(b)getopt.h'
*/
#define optarg subgetoptarg
#define optind subgetoptind
#define optpos subgetoptpos
#define optproblem subgetoptproblem
#define optprogname subgetoptprogname
#define opteof subgetoptdone
#define SUBGETOPTDONE -1
extern int getoptb(int,char **,char *);
extern int subgetopt(int,char **,char *);
extern char *subgetoptarg;
extern int subgetoptind;
extern int subgetoptpos;
extern int subgetoptproblem;
extern char *subgetoptprogname;
extern int subgetoptdone;
extern int opterr;
#endif
|