iswpunct

iswpunct

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

Checks if the given wide character is a punctuation character, i.e. it is one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ or any punctuation character specific to the current locale.

Parameters

ch - wide character

Return value

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

Example