20 lines
183 B
C
20 lines
183 B
C
|
#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);
|
||
|
}
|