e0c8aa0112d9b4f6790b741210e8a6f00434acda
1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2 #include <crtdll/ctype.h>
3 #include <crtdll/wchar.h>
8 if (_isctype (c
, _LOWER
))
9 return (c
+ ('A' - 'a'));
14 wchar_t towupper(wchar_t c
)
16 if (iswctype (c
, _LOWER
))
17 return (c
+ (L
'A' - L
'a'));
23 if (_isctype (c
, _LOWER
))
24 return (c
+ ('A' - 'a'));
28 wchar_t _towupper(wchar_t c
)
30 if (iswctype (c
, _LOWER
))
31 return (c
+ (L
'A' - L
'a'));