C Tutorial/wctype.h/iswcntrl
int iswcntrl(wint_t ch)
Function char Equivalent int iswcntrl(wint_t ch) iscntrl()
#include <stdio.h>
#include <wctype.h>
int main(void)
{
int wc;
for (wc=0; wc <= 0xFF; wc++) {
printf("%3d", wc);
printf(" %#4x ", wc);
printf("%2s", iswcntrl(wc) ? "C" : " ");
putchar("\n");
}
}