Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / ctype / towlower_l.c
blob46e024d44ebbe896140345584475c0aaf7efac39
1 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
2 #include <_ansi.h>
3 #include <newlib.h>
4 #include <wctype.h>
5 #include "local.h"
7 wint_t
8 towlower_l (wint_t c, struct __locale_t *locale)
10 #ifdef _MB_CAPABLE
11 return towctrans_l (c, WCT_TOLOWER, locale);
12 #else
13 return towlower (c);
14 #endif /* _MB_CAPABLE */