Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
iswpunct - test for punctuation wide character
&pagelevel(4)&pagelevel
Syntax | #include <wchar.h> int iswpunct(wint_t wc); |
Description iswpunct()
tests whether wc is a punctuation wide character, i.e. not a control,
| alphanumeric or white-space wide character (see iswspace ). In all cases, wc is an argument of type wint_t, the value of which must be a wide character code corresponding to a valid character in the current locale or must equal the value of the macro WEOF . If the argument wc has any other value, the behavior is undefined. |
Return val. | != 0 0 | Punctuation wide character Not a punctuation wide character |
Notes | iswpunct() is implemented both as a function and as a macro. To generate a function call, the definition of the macro name must be first undefined (#undef iswpunct ). The behavior of iswpunc() is determined by the class punct of the current locale. The current locale is the C locale, unless it was explicitly changed using setlocale() . Restriction This version of the C runtime system only supports 1-byte characters as wide character codes. They are of type wchar_t (see stddef.h ). (End) |
See also | iswalnum() , iswalpha() , iswcntrl() , iswdigit() , iswgraph() , iswlower() ,
iswprint(), iswspace(), iswupper(), iswxdigit(), setlocale(), wchar.h. |