Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
123
size_t strlen(const char* str)
124
{
125
size_t i = 0;
126
while(str[i] !=
'\0'
) i++;
127
return i;
128
}
129
130
int strcmp(const char* s1, const char* s2)
131
{
Callers
15
DoAnsiCSI
Function · 0.85
PrintChar
Function · 0.85
OnKey
Function · 0.85
EatWord
Method · 0.85
GetTextLength
Function · 0.85
InitializeFonts
Function · 0.85
LoadFont
Function · 0.85
LoadText
Method · 0.85
DoAnsiCSI
Function · 0.85
PrintChar
Function · 0.85
main
Function · 0.85
ParseLine
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected