diff options
author | Jonathan Bauer | 2011-04-15 19:27:42 +0200 |
---|---|---|
committer | Jonathan Bauer | 2011-04-15 19:27:42 +0200 |
commit | 1d7eb8c79b17fc9b2f9e93c215d574c8a6563441 (patch) | |
tree | 6bf557bcfef5371cfacbd88c54f4f15a90ac1ffc /contrib/syslinux/latest/com32/include/getopt.h | |
parent | fix? (diff) | |
download | usb-boot-stick-1d7eb8c79b17fc9b2f9e93c215d574c8a6563441.tar.gz usb-boot-stick-1d7eb8c79b17fc9b2f9e93c215d574c8a6563441.tar.xz usb-boot-stick-1d7eb8c79b17fc9b2f9e93c215d574c8a6563441.zip |
fix :)
Diffstat (limited to 'contrib/syslinux/latest/com32/include/getopt.h')
-rw-r--r-- | contrib/syslinux/latest/com32/include/getopt.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/syslinux/latest/com32/include/getopt.h b/contrib/syslinux/latest/com32/include/getopt.h new file mode 100644 index 0000000..71c41cd --- /dev/null +++ b/contrib/syslinux/latest/com32/include/getopt.h @@ -0,0 +1,22 @@ +#ifndef _GETOPT_H +#define _GETOPT_H + +#include <klibc/extern.h> + +struct option { + const char *name; + int has_arg; + int *flag; + int val; +}; + +enum { + no_argument = 0, + required_argument = 1, + optional_argument = 2, +}; + +__extern int getopt_long(int, char *const *, const char *, + const struct option *, int *); + +#endif /* _GETOPT_H */ |