[Previous] [Contents] [Next]

iswprint()

Test for a printable wide character

Synopsis:

#include <wctype.h>

int iswprint( wint_t wc );

Library:

libc

Description:

The iswprint() function tests if the argument wc is a printable wide character of the class print. In the C locale, they are: Any printable character including the space character.

Returns:

=/= 0
The character is a member of the class print.
0
Everything else.

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

The result is valid only for char arguments and WEOF.

See also:

setlocale()

"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.


[Previous] [Contents] [Next]