summaryrefslogtreecommitdiff
path: root/lib/libc/ctype/iscntrl.c
blob: 6d4ff5a80ce3e82592b3cfa48657622b446e3770 (plain)
1
2
3
4
5
6
7
8
#include <libc.h>

int iscntrl(int c)
{
	return (unsigned)c < 0x20 || c == 0x7f;
}

weak_reference(iscntrl, iscntrl_l);