iswcntrl()

tests if wide character is a control character 

Function


SYNOPSIS

#include <wctype.h>

int iswcntrl(wint_t wc);


DESCRIPTION

The iswcntrl() function tests for any control wide character, where the term control wide character refers to a member of a locale-specific set of wide characters that are not printing wide characters, or any wide character that is one of a locale-specific set of wide characters for which iswprint() is false

The behavior of the iswcntrl() function is affected by the current locale. To modify the behavior, change the LC_CTYPE category in setlocale(), that is, setlocale(LC_CTYPE, newlocale).


PARAMETERS

wc 

Is a wide character code corresponding to a valid character in the current locale or the value of the macro WEOF.


RETURN VALUES

The iswcntrl() function returns non-zero for true and zero for false. If the parameter is not in the domain of the function, the behavior is undefined.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995.


MULTITHREAD SAFETY LEVEL

MT-Safe, with exceptions.

This function is MT-Safe as long as no thread calls setlocale() while this function is executing.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
iswalnum(), iswalpha(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale()


MKS Toolkit 9.3 Documentation Build 6.