Test for any punctuation wide character
#include <wctype.h> int iswpunct( wint_t wc );
libc
The iswpunct() function tests if the argument wc is a punctuation wide character of the class punct. In the C locale, it includes comma (,) and period (.), among others.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
The result is valid only for char arguments and WEOF.
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.