index
:
rocket-tools/riscv-gnu-toolchain/musl.git
master
rs-1.0
Unnamed repository; edit this file 'description' to name the repository.
root
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
ctype
/
toupper.c
blob: 1799f0307789a3336b28d82e78203a0482eb02ea (
plain
)
1
2
3
4
5
6
7
#include <ctype.h>
int
toupper
(
int
c
)
{
if
(
islower
(
c
))
return
c
&
0x5f
;
return
c
;
}