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

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

weak_reference(iscntrl, iscntrl_l);