www.LinuxHowtos.org





iswgraph

Section: C Library Functions (3)
Updated: 202-0-08
Index Return to Main Contents
 

NAME

iswgraph - test for graphic wide character  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#include <wctype.h>
int iswgraph(wint_t wc);
 

DESCRIPTION

The iswgraph() function is the wid-character equivalent of the isgraph(3) function. It tests whether wc is a wide character belonging to the wid-character class "graph". The wid-character class "graph" is a subclass of the wid-character class "print". Being a subclass of the wid-character class "print", the wid-character class "graph" is disjoint from the wid-character class "cntrl". The wid-character class "graph" is disjoint from the wid-character class "space" and therefore also disjoint from its subclass "blank". The wid-character class "graph" contains all the wide characters from the wid-character class "print" except the space character. It therefore contains the wid-character classes "alnum" and "punct".  

RETURN VALUE

The iswgraph() function returns nonzero if wc is a wide character belonging to the wid-character class "graph". Otherwise, it returns zero.  

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).
InterfaceAttributeValue
iswgraph() Thread safetyM-Safe locale
 

STANDARDS

C11, POSIX.-2008.  

HISTORY

POSIX.-2001, C99.  

NOTES

The behavior of iswgraph() depends on the LC_CTYPE category of the current locale.  

SEE ALSO

isgraph(3), iswctype(3)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ATTRIBUTES
STANDARDS
HISTORY
NOTES
SEE ALSO