summary refs log tree commit diff
path: root/src/sgetopt.h
blob: bf8bce6aa30c86098456a8bb312f1065e7730174 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Public domain. */

#ifndef SGETOPT_H
#define SGETOPT_H

#ifndef SGETOPTNOSHORT
#define getopt sgetoptmine
#define optarg subgetoptarg
#define optind subgetoptind
#define optpos subgetoptpos
#define opterr sgetopterr
#define optproblem subgetoptproblem
#define optprogname sgetoptprogname
#define opteof subgetoptdone
#endif

#include "subgetopt.h"

extern int sgetoptmine(int,const char *const *,const char *);
extern int sgetopterr;
extern const char *sgetoptprogname;

#endif