projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
ctype
/
isalpha.c
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);