summaryrefslogtreecommitdiff
path: root/src/ctype/isblank.c
blob: 299120e96df19f4f1ad17ced9d45cb68c423b0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ctype.h>
#include "libc.h"

int isblank(int c)
{
	return (c == ' ' || c == '\t');
}

int __isblank_l(int c, locale_t l)
{
	return isblank(c);
}

weak_alias(__isblank_l, isblank_l);