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

Function strrchr

src/lib/string.c:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46char *strrchr(const char *s, int c)
47{
48 char *p = NULL;
49
50 do {
51 if (*s == c)
52 p = (char *)s;
53 } while (*s++);
54
55 return p;
56}
57
58char *strncpy(char *to, const char *from, size_t count)
59{

Callers 6

get_valueFunction · 0.50
dt_set_bin_prop_by_pathFunction · 0.50
test_strrchrFunction · 0.50
expr_print_gstr_helperFunction · 0.50
make_parent_dirFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_strrchrFunction · 0.40