Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
iswprint(3) Guardian Native C Library Calls Reference Manual
NAME
iswprint - Tests for a printable wide character
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <ctype.h>
int iswprint(
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 print in the program’s current
locale. All characters in the class graph and the space character are automatically included in
print.
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), isw-
graph(3), iswlower(3), iswpunct(3), iswspace(3), iswupper(3), iswxdigit(3), setlocale(3).
Files: locale(4).
3−80 Hewlett-Packard Company 527192-005