Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

iswpunct(3) Guardian Native C Library Calls Ref
erence Manual
NAME
iswpunct - Tests for a wide punctuation 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 iswpunct(
wint_t wc);
PARAMETER
wc Species 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 punct in the programs current
locale.
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), iswspace(3), iswupper(3), iswxdigit(3), setlocale(3).
Files: locale(4).
382 Hewlett-Packard Company 527192-007