Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
char *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
58
char *strncpy(char *to, const char *from, size_t count)
59
{
Callers
6
get_value
Function · 0.50
dt_set_bin_prop_by_path
Function · 0.50
test_strrchr
Function · 0.50
expr_print_gstr_helper
Function · 0.50
make_parent_dir
Function · 0.50
main
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_strrchr
Function · 0.40