blob: 6727d22ac6756facf6d06d089abe1d2427b00105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <ctype.h> // for isalpha, isalpha_l, locale_t
#include <sys/cdefs.h> // for __unused, __weak
int isalpha(int c)
{
return ((unsigned)c | 32) - 'a' < 26;
}
__weak int isalpha_l(int c, locale_t __unused locale)
{
return isalpha(c);
}
|