Adding upstream version 6.02~pre8+dfsg.
[syslinux-debian/hramrach.git] / com32 / include / getopt.h
blob71c41cd965e56743005ab8e1a9735316ebf3df48
1 #ifndef _GETOPT_H
2 #define _GETOPT_H
4 #include <klibc/extern.h>
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 int getopt_long(int, char *const *, const char *,
20 const struct option *, int *);
22 #endif /* _GETOPT_H */