Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/nuttx
/ strlen
Function
strlen
libs/libc/string/lib_strlen.c:40–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
#undef strlen
39
no_builtin(
"strlen"
)
40
size_t strlen(FAR const char *s)
41
{
42
FAR const char *sc;
43
for (sc = s; *sc !=
'\0'
; ++sc);
44
return sc - s;
45
}
46
#endif
Callers
15
strchrnul
Function · 0.70
strcasestr
Function · 0.70
strcat
Function · 0.70
rawmemchr
Function · 0.70
strlcat
Function · 0.70
strdup
Function · 0.70
nx_strdup
Function · 0.70
strncat
Function · 0.70
strstr
Function · 0.70
sem_open
Function · 0.50
vsscanf
Function · 0.50
fputs_unlocked
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected