MCPcopy Create free account
hub / github.com/coreboot/coreboot / strchr

Function strchr

src/lib/string.c:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36char *strchr(const char *s, int c)
37{
38 do {
39 if (*s == c)
40 return (char *)s;
41 } while (*s++);
42
43 return NULL;
44}
45
46char *strrchr(const char *s, int c)
47{

Callers 15

is_runtime_dataFunction · 0.50
process_hwidFunction · 0.50
dt_find_node_by_pathFunction · 0.50
dt_fixup_externalFunction · 0.50
test_strchrFunction · 0.50
mainFunction · 0.50
make_parent_dirFunction · 0.50
conf_read_simpleFunction · 0.50
dialog_textboxFunction · 0.50
first_alphaFunction · 0.50
dialog_menuFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_strchrFunction · 0.40