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

int isprint(int c)
{
	return (unsigned)c-0x20 < 0x5f;
}

int __isprint_l(int c, locale_t l)
{
	return isprint(c);
}

weak_alias(__isprint_l, isprint_l);