blob: d5fcf7b195bbf83e87099c6629ee87f9166df519 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <ctype.h>
int
toupper(int c)
{
if(c < 'a' || c > 'z')
return c;
return _toupper(c);
}
int
tolower(int c)
{
if(c < 'A' || c > 'Z')
return c;
return _tolower(c);
}
|