Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ toupper
Function
toupper
Kernel/src/string.cpp:220–224 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
218
}
219
220
char toupper(char c){
221
if(c >=
'a'
&& c <=
'z'
)
222
return c -
'a'
+
'A'
;
223
else return c;
224
}
225
226
char* strupr(char* s){
227
for(size_t i = 0; s[i] !=
'\0'
; i++){
Callers
2
strupr
Function · 0.85
strnupr
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected