iswpunct(3)


NAME

   iswpunct - test for punctuation or symbolic wide character

SYNOPSIS

   #include <wctype.h>

   int iswpunct(wint_t wc);

DESCRIPTION

   The  iswpunct()  function  is  the  wide-character  equivalent  of  the
   ispunct(3) function.  It tests whether wc is a wide character belonging
   to the wide-character class "punct".

   The  wide-character  class  "punct" is a subclass of the wide-character
   class "graph", and therefore also  a  subclass  of  the  wide-character
   class "print".

   The  wide-character  class  "punct" is disjoint from the wide-character
   class "alnum" and therefore also disjoint from its subclasses  "alpha",
   "upper", "lower", "digit", "xdigit".

   Being  a  subclass  of  the  wide-character  class  "print",  the wide-
   character class "punct"  is  disjoint  from  the  wide-character  class
   "cntrl".

   Being  a  subclass  of  the  wide-character  class  "graph",  the wide-
   character class "punct"  is  disjoint  from  the  wide-character  class
   "space" and its subclass "blank".

RETURN VALUE

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

ATTRIBUTES

   For   an   explanation   of   the  terms  used  in  this  section,  see
   attributes(7).

   
   Interface   Attribute      Value          
   
   iswpunct()  Thread safety  MT-Safe locale 
   

CONFORMING TO

   POSIX.1-2001, POSIX.1-2008, C99.

NOTES

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

   This   function's   name  is  a  misnomer  when  dealing  with  Unicode
   characters, because the  wide-character  class  "punct"  contains  both
   punctuation characters and symbol (math, currency, etc.) characters.

SEE ALSO

   ispunct(3), iswctype(3)

COLOPHON

   This  page  is  part of release 4.09 of the Linux man-pages project.  A
   description of the project, information about reporting bugs,  and  the
   latest     version     of     this    page,    can    be    found    at
   https://www.kernel.org/doc/man-pages/.


More Linux Commands

manpages/tk_patchLevel.n.html
tk_patchLevel(n) Variables used or set by Tk _______________
The following Tcl variables are either set or used by Tk at various times in its execution: tk_library This variable holds the file name for a directory contain

manpages/gnutls_pubkey_import_privkey.3.html
gnutls_pubkey_import_privkey(3) - API function (Man Page)...
Imports the public key from a private. This function will import the given public key to the abstract gnutls_pubkey_t structure. RETURNS On success, GNUTLS_E_SU

manpages/isalnum_l.3.html
isalnum_l(3) character classification functions (Man Page)
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

manpages/pthread_attr_setinheritsched.3.html
pthread_attr_setinheritsched(3) - set/get inherit scheduler
The pthread_attr_setinheritsched() function sets the inherit-scheduler attribute of the thread attributes object referred to by attr to the value specified in i

manpages/XkbAllocGeometry.3.html
XkbAllocGeometry(3) - Allocate an entire geometry (ManPage)
XkbAllocGeometry.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keybo

manpages/gnutls_x509_crl_get_version.3.html
gnutls_x509_crl_get_version(3) - API function (Man Page)....
This function will return the version of the specified CRL. RETURNS The version number, or a negative error code on error. REPORTING BUGS Report bugs to &lt;bug-gn

manpages/rexec_af.3.html
rexec_af(3) return stream to a remote command (Man Page)....
This interface is obsoleted by rcmd(3). The rexec() function looks up the host *ahost using gethostbyname(3), returning -1 if the host does not exist. Otherwise

manpages/Tcl_Realloc.3.html
Tcl_Realloc(3) - allocate or free heap memory (Man Page)....
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of memory blocks between

manpages/jn.3.html
jn(3) - Bessel functions of the first kind - Linux man page
The j0() and j1() functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The jn() function returns the Bessel function of x o

manpages/__freadable.3.html
__freadable(3) - interfaces to stdio FILE structure.........
Solaris introduced routines to allow portable access to the internals of the FILE structure, and glibc also implemented these. The __fbufsize() function returns

manpages/ldap_memory.3.html
ldap_memory(3) - LDAP memory allocation routines (Man Page)
These routines are used to allocate/deallocate memory used/returned by the LDAP library. ldap_memalloc(), ldap_memcalloc(), ldap_memrealloc(), and ldap_memfree(

manpages/conjf.3.html
conjf(3) - calculate the complex conjugate - Linux man page
The conj() function returns the complex conjugate value of z. That is the value obtained by changing the sign of the imaginary part. One has: cabs(z) = csqrt(z





We can't live, work or learn in freedom unless the software we use is free.