[Previous] [Contents] [Next]

iswgraph()

Test for any graphical wide character

Synopsis:

#include <wctype.h>

int iswgraph( wint_t wc );

Library:

libc

Description:

The iswgraph() function tests if the argument wc is a graphical wide character of the class graph. In the C locale, they are: Any printable character except the space character.

Returns:

=/= 0
The character is a member of the class graph.
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]