blob: 934841fa44aa91eb6753adb17b79825368e91f5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <libc.h>
#include <ctype.h>
int toupper(int c)
{
if (islower(c))
return c & 0x5f;
return c;
}
int toupper_l(int c, locale_t __unused locale)
{
return toupper(c);
}
|