repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
ctype
/
towupper_l.c
blob
d7c1adbc81b5320c2b796f3f810cb592afdd743c
1
/* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
2
#include <_ansi.h>
3
#include <wctype.h>
4
#include
"local.h"
5
6
wint_t
7
towupper_l
(
wint_t
c
,
struct
__locale_t
*
locale
)
8
{
9
#ifdef _MB_CAPABLE
10
return
towctrans_l
(
c
,
WCT_TOUPPER
,
locale
);
11
#else
12
return
towupper
(
c
);
13
#endif
/* _MB_CAPABLE */
14
}