iswpunct()

tests if wide character is neither space nor alphanumeric 

Function


SYNOPSIS

#include <wctype.h>

int iswpunct(wint_t wc);


DESCRIPTION

The iswpunct() function tests for any printing wide character that is one of a locale-specific set of wide characters for which neither iswspace() nor iswalnum() is true.

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


MKS Toolkit 9.2 Documentation Build 16.