summaryrefslogtreecommitdiff
path: root/src/ctype/isspace.c
blob: 428813e79856c9092942e26dfd83eb94926c65ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ctype.h>
#undef isspace

int isspace(int c)
{
	return c == ' ' || (unsigned)c-'\t' < 5;
}

int __isspace_l(int c, locale_t l)
{
	return isspace(c);
}

weak_alias(__isspace_l, isspace_l);