Sign in
mojo
/
mojo
/
de6c20aad64d53a7061c10e724e9924cfec679f6
/
.
/
fusl
/
src
/
ctype
/
toupper.c
blob: eaa9c3c0a8e20b6b0a04f293c6edd463228559aa [
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
);