summaryrefslogblamecommitdiff
path: root/src/ctype/isspace.c
blob: 231e90793ddd385fdb0acba4168f3414f2beb500 (plain) (tree)
1
2
3
4
5
6
7
8
                  
                 
              




                                                






                                   
#include <ctype.h>
#include "libc.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);