From 41d36f28612cb6c49cf0260236f3b834549883be Mon Sep 17 00:00:00 2001 From: Leo C Date: Tue, 14 Oct 2014 12:53:48 +0200 Subject: pin command, add user configurable i/o pins --- include/getopt-min.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/getopt-min.h (limited to 'include/getopt-min.h') diff --git a/include/getopt-min.h b/include/getopt-min.h new file mode 100644 index 0000000..9f7729e --- /dev/null +++ b/include/getopt-min.h @@ -0,0 +1,12 @@ +#ifndef GETOPT_MIN_H +#define GETOPT_MIN_H + +int getopt( /* returns letter, '?', EOF */ + int argc, /* argument count from main */ + char *const argv[], /* argument vector from main */ + const FLASH char * optstring ); /* allowed args, e.g. "ab:c" */ + +extern int optind; + +#endif /* GETOPT_MIN_H */ + -- cgit v1.2.3