MCPcopy 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
39no_builtin("strlen")
40size_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

strchrnulFunction · 0.70
strcasestrFunction · 0.70
strcatFunction · 0.70
rawmemchrFunction · 0.70
strlcatFunction · 0.70
strdupFunction · 0.70
nx_strdupFunction · 0.70
strncatFunction · 0.70
strstrFunction · 0.70
sem_openFunction · 0.50
vsscanfFunction · 0.50
fputs_unlockedFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected