summaryrefslogtreecommitdiff
path: root/src/ctype/iscntrl.c
blob: 92ed7f0e9adcbf54089676429fd071cfd261b80a (plain) (blame)
1
2
3
4
5
6
#include <ctype.h>

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