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