MCPcopy Create free account
hub / github.com/SmingHub/Sming / to_upper

Function to_upper

Sming/System/m_printf.cpp:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#define is_print(c) ((c) >= ' ' && (c) <= '~')
30
31static char to_upper(char c)
32{
33 return (c >= 'a' && c <= 'z') ? (c + 'A' - 'a') : c;
34}
35
36static void str_upper(char* s)
37{

Callers 1

str_upperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected