Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
char *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
46
char *strrchr(const char *s, int c)
47
{
Callers
15
render_text_to_bitmap_buffer
Function · 0.70
is_runtime_data
Function · 0.50
process_hwid
Function · 0.50
dt_find_node_by_path
Function · 0.50
dt_fixup_external
Function · 0.50
test_strchr
Function · 0.50
main
Function · 0.50
make_parent_dir
Function · 0.50
conf_read_simple
Function · 0.50
dialog_textbox
Function · 0.50
first_alpha
Function · 0.50
dialog_menu
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_strchr
Function · 0.40