iswcntrl

iswcntrl

Defined in header <wctype.h>
int iswcntrl( wint_t ch );
(since C95)

Checks if the given wide character is a control character, i.e. codes 0x00-0x1F and 0x7F and any control characters specific to the current locale.

Parameters

ch - wide character

Return value

Non-zero value if the wide character is a control character, zero otherwise.

Example

#include <stdio.h>
#inclu