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

Function strlen

stdlib/cpp/cstring.hpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13int strlen(const char* str) {
14 int len = 0;
15 while (*str) {
16 len++;
17 str++;
18 }
19 return len;
20}
21
22} // namespace std

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected