1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/ctype.h>
7 if (_isctype (c
, _UPPER
))
8 return (c
- ('A' - 'a'));
13 wchar_t towlower(wchar_t c
)
15 if (iswctype (c
, _UPPER
))
16 return (c
- (L
'A' - L
'a'));
22 if (_isctype (c
, _UPPER
))
23 return (c
- ('A' - 'a'));
28 wchar_t _towlower(wchar_t c)
30 if (iswctype (c, _UPPER))
31 return (c - (L'A' - L'a'));