MCPcopy Create free account
hub / github.com/IntegralPilot/wasm_os / strlen

Function strlen

stdlib/c/string.c:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14unsigned long strlen(const char* str) {
15 unsigned long len = 0;
16 while (*str) {
17 len++;
18 str++;
19 }
20 return len;
21}
22
23#endif // STRING_C

Callers 1

vprintfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected