Home | History | Annotate | Download | only in lib

Lines Matching full:arglist

77    NULL-terminated array ARGLIST, return the index in ARGLIST
88 argmatch (const char *arg, const char *const *arglist,
91 size_t i; /* Temporary index in ARGLIST. */
99 for (i = 0; arglist[i]; i++)
101 if (!strncmp (arglist[i], arg, arglen))
103 if (strlen (arglist[i]) == arglen)
146 ARGLIST is the same as in argmatch.
150 argmatch_valid (const char *const *arglist,
159 for (i = 0; arglist[i]; i++)
163 fprintf (stderr, "\n - `%s'", arglist[i]);
168 fprintf (stderr, ", `%s'", arglist[i]);
181 const char *arg, const char *const *arglist,
185 ptrdiff_t res = argmatch (arg, arglist, vallist, valsize);
192 argmatch_valid (arglist, vallist, valsize);
199 return the first corresponding argument in ARGLIST */
202 const char *const *arglist,
207 for (i = 0; arglist[i]; i++)
209 return arglist[i];