summaryrefslogtreecommitdiff
path: root/lib/libkeynote/getopt.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-01 01:08:32 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-01 01:08:32 +0000
commitd784a738139448819b0f9634632e144f11ce8445 (patch)
treeddb2a252f194b7508d200750332f53694f046fe8 /lib/libkeynote/getopt.h
parent364f2dadf3054e5812ecc352689f96ed5d1ab7a9 (diff)
Update for version 2.0
Diffstat (limited to 'lib/libkeynote/getopt.h')
-rw-r--r--lib/libkeynote/getopt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libkeynote/getopt.h b/lib/libkeynote/getopt.h
new file mode 100644
index 00000000000..e9e0dd521ba
--- /dev/null
+++ b/lib/libkeynote/getopt.h
@@ -0,0 +1,5 @@
+/* $OpenBSD: getopt.h,v 1.1 1999/10/01 01:08:30 angelos Exp $ */
+extern int opterr; /* flag:error message on unrecognzed options */
+extern int optind; /* last touched cmdline argument */
+extern char *optarg; /* argument to optopt */
+int getopt(int argc, char **argv, char *opts);