Test a wide character to see if it's any printable character except space
#include <wctype.h> int iswgraph( wint_t wc );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The iswgraph() function tests if the argument wc is a graphical wide character of the class graph. In the C locale, this class consists of all the printable characters, except the space character.
A nonzero value if the character is a member of the class graph, or 0 otherwise.
ANSI, POSIX 1003.1
The result is valid only for wchar_t arguments and WEOF.
isgraph(), iswalnum(), iswalpha(), iswcntrl(), iswctype(), iswdigit(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale()