MCPcopy Create free account
hub / github.com/cppla/ServerStatus / str_uppercase

Function str_uppercase

server/src/system.c:1827–1832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1825int str_isspace(char c) { return c == ' ' || c == '\n' || c == '\t'; }
1826
1827char str_uppercase(char c)
1828{
1829 if(c >= 'a' && c <= 'z')
1830 return 'A' + (c-'a');
1831 return c;
1832}
1833
1834int str_toint(const char *str) { return atoi(str); }
1835float str_tofloat(const char *str) { return atof(str); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected