repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
apply hidden visibility to sigreturn code fragments
[musl.git]
/
src
/
ctype
/
toupper.c
blob
bbf4e06e815c6e1bbd7bfce3f12e471d427d71ad
1
#include <ctype.h>
2
#include
"libc.h"
3
4
int
toupper
(
int
c
)
5
{
6
if
(
islower
(
c
))
return
c
&
0x5f
;
7
return
c
;
8
}
9
10
int
__toupper_l
(
int
c
,
locale_t l
)
11
{
12
return
toupper
(
c
);
13
}
14
15
weak_alias
(
__toupper_l
,
toupper_l
);