MCPcopy Create free account
hub / github.com/coreboot/coreboot / getopt_long

Function getopt_long

payloads/libpayload/libc/getopt_long.c:482–489  ·  view source on GitHub ↗

* getopt_long -- * Parse argc/argv argument vector. */

Source from the content-addressed store, hash-verified

480 * Parse argc/argv argument vector.
481 */
482int
483getopt_long(int nargc, char * const *nargv, const char *options,
484 const struct option *long_options, int *idx)
485{
486
487 return (getopt_internal(nargc, nargv, options, long_options, idx,
488 FLAG_PERMUTE));
489}
490
491/*
492 * getopt_long_only --

Callers 15

mainFunction · 0.85
inteltool.cFile · 0.85
mainFunction · 0.85
mainFunction · 0.85
amdtool.cFile · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
amdfwtool_getoptFunction · 0.85
mainFunction · 0.85
parse_argsFunction · 0.85
intelmetool.cFile · 0.85

Calls 1

getopt_internalFunction · 0.85

Tested by 1

mainFunction · 0.68