Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
ctype
/
toupper.c
blob: bbf4e06e815c6e1bbd7bfce3f12e471d427d71ad [
file
] [
log
] [
blame
]
#include
<ctype.h>
#include
"libc.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
);