Sign in
android
/
platform
/
external
/
musl
/
aa59d7880b1194c821029d464f93561a2600d57e
/
.
/
src
/
ctype
/
toupper.c
blob: 4e74a55c60a622dce6330c20b4217a3b5c0385d5 [
file
] [
log
] [
blame
]
#include
<ctype.h>
int
toupper
(
int
c
)
{
if
(
islower
(
c
))
return
c
&
0x5f
;
return
c
;
}
int
__toupper_l
(
int
c
,
locale_t
l
)
{
return
toupper
(
c
);
}
weak_alias
(
__toupper_l
,
toupper_l
);