summaryrefslogtreecommitdiff
path: root/lib/libc/ctype/isspace.c
blob: 468e755be9c86f0d37b692024b121ed8cc9dc4c4 (plain)
1
2
3
4
5
6
7
8
#include <libc.h> // for weak_reference

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

weak_reference(isspace, isspace_l);