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

Function nb_common_chars

dpdk/lib/cmdline/cmdline_parse.c:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68static unsigned int
69nb_common_chars(const char * s1, const char * s2)
70{
71 unsigned int i=0;
72
73 while (*s1==*s2 && *s1) {
74 s1++;
75 s2++;
76 i++;
77 }
78 return i;
79}
80
81/** Retrieve either static or dynamic token at a given index. */
82static cmdline_parse_token_hdr_t *

Callers 1

cmdline_completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected