summaryrefslogblamecommitdiff
path: root/src/ctype/isprint.c
blob: 067275fa03e795ca0603ea1c99239265305c7dc9 (plain) (tree)
1
2
3
4
5
6
7
8



                  



                                       






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