Sign in
android
/
trusty
/
external
/
musl
/
a730639273fd5040ea3528a9fc7b8590f46a6702
/
.
/
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
);