mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
190 B
14 lines
190 B
#include <ctype.h>
|
|
#undef isalpha
|
|
|
|
int isalpha(int c)
|
|
{
|
|
return ((unsigned)c|32)-'a' < 26;
|
|
}
|
|
|
|
int __isalpha_l(int c, locale_t l)
|
|
{
|
|
return isalpha(c);
|
|
}
|
|
|
|
weak_alias(__isalpha_l, isalpha_l);
|
|
|