MCPcopy Create free account
hub / github.com/cppla/ServerStatus / prefix_skip

Function prefix_skip

server/src/argparse.c:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#define OPT_UNSET 1
8
9static const char *
10prefix_skip(const char *str, const char *prefix)
11{
12 size_t len = strlen(prefix);
13 return strncmp(str, prefix, len) ? NULL : str + len;
14}
15
16int
17prefix_cmp(const char *str, const char *prefix)

Callers 1

argparse_long_optFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected