summaryrefslogtreecommitdiff
path: root/libc/include/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/getopt.h')
-rw-r--r--libc/include/getopt.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/include/getopt.h b/libc/include/getopt.h
new file mode 100644
index 0000000..0d71ff6
--- /dev/null
+++ b/libc/include/getopt.h
@@ -0,0 +1,17 @@
+/* Copyright (C) 1996 Robert de Bath <rdebath@cix.compulink.co.uk>
+ * This file is part of the Linux-8086 C library and is distributed
+ * under the GNU Library General Public License.
+ */
+
+#ifndef __GETOPT_H
+#define __GETOPT_H
+
+#include <features.h>
+
+extern char *optarg;
+extern int opterr;
+extern int optind;
+
+extern int getopt __P((int argc, char *const *argv, const char *shortopts));
+
+#endif /* __GETOPT_H */