diff options
author | midipix <writeonce@midipix.org> | 2016-07-28 05:00:31 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-07-28 05:01:45 -0400 |
commit | d8cffac6a078a9417903b9b717677bb101642259 (patch) | |
tree | 23643fe59e8bc83f135734b1008d35fd76d237e1 /src/try.c | |
parent | bf95faf33b74f8fa5f0de2c94d0c53e4c9890990 (diff) | |
download | apimagic-d8cffac6a078a9417903b9b717677bb101642259.tar.bz2 apimagic-d8cffac6a078a9417903b9b717677bb101642259.tar.xz |
argv.h: no need to #include <errno.h>
Diffstat (limited to 'src/try.c')
-rw-r--r-- | src/try.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/try.c b/src/try.c new file mode 100644 index 0000000..33a7188 --- /dev/null +++ b/src/try.c @@ -0,0 +1,8 @@ +#define ARGV_DRIVER +#include "argv/argv.h" + +int foo(char ** argv, const struct argv_option * options,unsigned int flags, char * header, char * arg) +{ + argv_usage(0,header,options,arg); + return argv_get(argv,options,flags) ? 0 : -1; +} |