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
/
towlower_l.c
blob
46e024d44ebbe896140345584475c0aaf7efac39
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"
6
7
wint_t
8
towlower_l
(
wint_t
c
,
struct
__locale_t
*
locale
)
9
{
10
#ifdef _MB_CAPABLE
11
return
towctrans_l
(
c
,
WCT_TOLOWER
,
locale
);
12
#else
13
return
towlower
(
c
);
14
#endif
/* _MB_CAPABLE */
15
}