shithub: riscv

ref: 187806ad2021994c4e841d4dbddc569d51023bb0
dir: /sys/src/ape/cmd/patch/argmatch.h/

View raw version
/* argmatch.h -- declarations for matching arguments against option lists */

#if defined __STDC__ || __GNUC__
# define __ARGMATCH_P(args) args
#else
# define __ARGMATCH_P(args) ()
#endif

int argmatch __ARGMATCH_P ((const char *, const char * const *));
void invalid_arg __ARGMATCH_P ((const char *, const char *, int));

extern char const program_name[];