Welcome to mirror list, hosted at ThFree Co, Russian Federation.

towupper_l.c « ctype « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d7c1adbc81b5320c2b796f3f810cb592afdd743c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
#include <_ansi.h>
#include <wctype.h>
#include "local.h"

wint_t
towupper_l (wint_t c, struct __locale_t *locale)
{
#ifdef _MB_CAPABLE
  return towctrans_l (c, WCT_TOUPPER, locale);
#else
  return towupper (c);
#endif /* _MB_CAPABLE */
}