1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/ctype.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'));
29 wchar_t _towupper(wchar_t c)
31 if (iswctype (c, _LOWER))
32 return (c + (L'A' - L'a'));