File: getopt.h

package info (click to toggle)
binkd 1.1a-111-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,500 kB
  • sloc: ansic: 22,959; makefile: 1,113; perl: 369; sh: 325
file content (23 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*

   getopt.h

   Update history:

      01Oct89 Add function prototype for getopt                      ahd
  */

/* avoid conflicts if getopt() exists but HAVE_GETOPT not defined */
#define getopt(argc, argv, opts)	binkd_getopt(argc, argv, opts)
#define init_getopt			binkd_init_getopt
#define optind				binkd_optind
#define optopt				binkd_optopt
#define optarg				binkd_optarg

extern int getopt(int argc, char **argv, const char *opts);
extern void init_getopt(void);

extern int optind;
extern int optopt;
extern int opterr;
extern char *optarg;