Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GJDuck/e9patch
/ toupper
Function
toupper
examples/stdlib.c:2558–2563 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2556
}
2557
2558
static int toupper(int c)
2559
{
2560
if (c >=
'a'
&& c <=
'z'
)
2561
c =
'A'
+ (c -
'a'
);
2562
return c;
2563
}
2564
2565
static int tolower(int c)
2566
{
Callers
1
test_stdio
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_stdio
Function · 0.68