Searched refs:getopts (Results 1 - 1 of 1) sorted by relevance

/system/core/sh/
H A Doptions.c79 STATIC int getopts(char *, char *, char **, char ***, char **);
371 * The getopts builtin. Shellparam.optnext points to the next argument
374 * then it's the first time getopts has been called.
383 error("usage: getopts optstring var [arg]");
395 return getopts(argv[1], argv[2], optbase, &shellparam.optnext,
400 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, char **optpptr) function

Completed in 26 milliseconds