*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> iswpunct (3)              
Title
Content
Arch
Section
 

ISWPUNCT(3)

Contents


NAME    [Toc]    [Back]

       iswpunct - test for punctuation or symbolic wide character

SYNOPSIS    [Toc]    [Back]

       #include <wctype.h>

       int iswpunct (wint_t wc);

DESCRIPTION    [Toc]    [Back]

       The  iswpunct  function is the wide-character equivalent of the ispunct
       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    [Toc]    [Back]

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

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       ispunct(3), iswctype(3)

NOTES    [Toc]    [Back]

       The behaviour 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.



GNU				  1999-07-25			   ISWPUNCT(3)
[ Back ]
 Similar pages
Name OS Title
ispunct NetBSD punctuation character test
ispunct OpenBSD punctuation character test
ispunct FreeBSD punctuation character test
iswprint Linux test for printing wide character
iswlower Linux test for lowercase wide character
iswupper Linux test for uppercase wide character
iswcntrl Linux test for control wide character
iswalnum Linux test for alphanumeric wide character
iswspace Linux test for whitespace wide character
iswblank Linux test for whitespace wide character
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service