Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
towlower.c
Go to the documentation of this file.
1 #include "_towcase.h"
2 #include <ctype.h>
3 
5 {
6  return (wint_t)(wc < 128 ? tolower((int)wc) : __towcase((wchar_t)wc, 1));
7 }
int tolower(int ch)
Converts the given character to lowercase.
Definition: tolower.c:5
unsigned wint_t
Definition: wctype.h:11
wint_t towlower(wint_t wc)
Definition: towlower.c:4
wchar_t __towcase(wchar_t wc, int lower)
Definition: towccase.c:218