Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

iswgraph(3) Guardian Native C Library Calls Reference Manual
NAME
iswgraph - Tests for wide graphic character
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
SYNOPSIS
#include <ctype.h>
int iswgraph(
wint_t wc);
PARAMETER
wc Specifies a wide character for testing.
DESCRIPTION
This function tests a wide character wc for membership in the character class in the current
locale. If the wide character is part of the character class, the function returns a nonzero value
for true; otherwise, it returns a value of 0 (zero) for false.
The function returns a true value when wc is a character of class graph in the program’s current
locale. Characters in classes alpha, digit, and punct are automatically in class graph. Unlike
iswprint(), iswgraph() returns FALSE for the space character.
NOTES
This function determines the class of a wide character based on the LC_CTYPE locale category.
RETURN VALUES
If the wide character tested is part of the particular character class, this function returns a
nonzero value; otherwise it returns a value of 0 (zero).
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: isalnum(3), iswalnum(3), iswalpha(3), iswcntrl(3), iswctype(3), iswdigit(3),
iswlower(3), iswprint(3), iswpunct(3), iswspace(3), iswupper(3), iswxdigit(3), setlocale(3).
Files: locale(4).
3128 Hewlett-Packard Company 527192-018