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

Function get_token_len

dpdk/lib/cmdline/cmdline_parse_string.c:26–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#define FIXEDSTRING_HELP "Fixed STRING"
25
26static unsigned int
27get_token_len(const char *s)
28{
29 char c;
30 unsigned int i=0;
31
32 c = s[i];
33 while (c!='#' && c!='\0') {
34 i++;
35 c = s[i];
36 }
37 return i;
38}
39
40static const char *
41get_next_token(const char *s)

Callers 3

get_next_tokenFunction · 0.85
cmdline_parse_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected