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

iswspace(3) Guardian Native C Library Calls Reference Manual
NAME
iswspace - Test for a wide white-space 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 iswspace(
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 space in the program’s current
locale. At a minimum, the space, form-feed, newline, carriage-return, tab, and vertical-tab char-
acters are included in this class.
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), iswprint(3), iswpunct(3), iswupper(3), iswxdigit(3), setlocale(3).
Files: locale(4).
3132 Hewlett-Packard Company 527192-018