MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / LongOpt

Method LongOpt

erpcgen/src/options.cpp:448–448  ·  view source on GitHub ↗

Get the corresponding long-option string

Source from the content-addressed store, hash-verified

446 char OptChar(void) const { return *spec; }
447 // Get the corresponding long-option string
448 const char *LongOpt(void) const { return (spec[1] && spec[2] && (!isspace(spec[2]))) ? (spec + 2) : NULLSTR; }
449 // Does this option require an argument?
450 int isValRequired(void) const { return ((spec[1] == ':') || (spec[1] == '+')); }
451 // Does this option take an optional argument?

Callers 2

match_longoptMethod · 0.80
parse_longoptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected