iswprint()

tests if wide character is printable 

Function


SYNOPSIS

#include <wctype.h>

int iswprint(wint_t c);


DESCRIPTION

The iswprint() function tests for any printing wide character, including the space character, that is any character for which iswalnum() or iswpunct() is true or the space character.

The behavior of the iswprint() 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 iswprint() 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(), iswcntrl(), iswdigit(), iswgraph(), iswlower(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale()


MKS Toolkit 9.3 Documentation Build 6.