Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GJDuck/e9patch
/ strlen
Function
strlen
examples/stdlib.c:2632–2638 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2630
}
2631
2632
static size_t strlen(const char *s)
2633
{
2634
size_t n = 0;
2635
for (size_t i = 0; s[i] !=
'\0'
; i++)
2636
n++;
2637
return n;
2638
}
2639
2640
static size_t strnlen(const char *s, size_t n)
2641
{
Callers
15
strncat
Function · 0.70
strdup
Function · 0.70
fputs_unlocked
Function · 0.70
vsnprintf
Function · 0.70
internal_function
Function · 0.50
startswith
Function · 0.50
try_dwp_file
Function · 0.50
scn_dwarf_type
Function · 0.50
check_section
Function · 0.50
read_srclines
Function · 0.50
main
Function · 0.50
isTest
Function · 0.50
Calls
no outgoing calls
Tested by
3
main
Function · 0.40
isTest
Function · 0.40
test_string
Function · 0.40