Add memtest support.
[syslinux-debian/hramrach.git] / libinstaller / getopt / getopt.h
bloba1b74b100a94d20cfb53035305d2df14c59c4fcc
1 #ifndef _GETOPT_H
2 #define _GETOPT_H
4 /* (Very slightly) adapted from klibc */
6 struct option {
7 const char *name;
8 int has_arg;
9 int *flag;
10 int val;
13 enum {
14 no_argument = 0,
15 required_argument = 1,
16 optional_argument = 2,
19 extern char *optarg;
20 extern int optind, opterr, optopt;
22 extern int getopt_long(int, char *const *, const char *,
23 const struct option *, int *);
25 #endif /* _GETOPT_H */