summaryrefslogtreecommitdiff
path: root/src/ctype/isalpha.c
blob: 53e115c29df71f92c4f627a67ef3bee99cb1e029 (plain)
1
2
3
4
5
6
7
#include <ctype.h>
#undef isalpha

int isalpha(int c)
{
	return ((unsigned)c|32)-'a' < 26;
}