MCPcopy Create free account
hub / github.com/F-Stack/f-stack / get_next_token

Function get_next_token

dpdk/lib/cmdline/cmdline_parse_string.c:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40static const char *
41get_next_token(const char *s)
42{
43 unsigned int i;
44 i = get_token_len(s);
45 if (s[i] == '#')
46 return s+i+1;
47 return NULL;
48}
49
50int
51cmdline_parse_string(cmdline_parse_token_hdr_t *tk, const char *buf, void *res,

Callers 4

cmdline_parse_stringFunction · 0.85
cmdline_get_help_stringFunction · 0.85

Calls 1

get_token_lenFunction · 0.85

Tested by

no test coverage detected