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
fcntl.h: add AT_STATX_ statx sync flag definitions
[musl.git]
/
src
/
ctype
/
isalpha.c
blob
a87a93759869df31a40374efe3c9e10b3b21d4a2
1
#include <ctype.h>
2
#undef isalpha
3
4
int
isalpha
(
int
c
)
5
{
6
return
((
unsigned
)
c
|
32
)-
'a'
<
26
;
7
}
8
9
int
__isalpha_l
(
int
c
,
locale_t l
)
10
{
11
return
isalpha
(
c
);
12
}
13
14
weak_alias
(
__isalpha_l
,
isalpha_l
);