1 /* 2 Copyright (c) 2016 Corinna Vinschen <corinna@vinschen.de> 3 Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling 4 */ 5 #define _DEFAULT_SOURCE 6 #include <wctype.h> 7 8 wctrans_t wctrans_l(const char * c,struct __locale_t * locale)9wctrans_l (const char *c, struct __locale_t *locale) 10 { 11 (void) locale; 12 /* We're using a locale-independent representation of upper/lower case 13 based on Unicode data. Thus, the locale doesn't matter. */ 14 return wctrans (c); 15 } 16