MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / strlen

Function strlen

Kernel/src/string.cpp:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123size_t strlen(const char* str)
124{
125 size_t i = 0;
126 while(str[i] != '\0') i++;
127 return i;
128}
129
130int strcmp(const char* s1, const char* s2)
131{

Callers 15

DoAnsiCSIFunction · 0.85
PrintCharFunction · 0.85
OnKeyFunction · 0.85
EatWordMethod · 0.85
GetTextLengthFunction · 0.85
InitializeFontsFunction · 0.85
LoadFontFunction · 0.85
LoadTextMethod · 0.85
DoAnsiCSIFunction · 0.85
PrintCharFunction · 0.85
mainFunction · 0.85
ParseLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected