aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/isspace.c
blob: 60ad415db4599e5bc2e16d55197ab94d09d451bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif