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

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

ISWUPPER(3)

Contents


NAME    [Toc]    [Back]

       iswupper - test for uppercase wide character

SYNOPSIS    [Toc]    [Back]

       #include <wctype.h>

       int iswupper (wint_t wc);

DESCRIPTION    [Toc]    [Back]

       The  iswupper  function is the wide-character equivalent of the isupper
       function. It tests whether wc is a wide character belonging to the wide
       character class "upper".

       The  wide  character  class "upper" is a subclass of the wide character
       class "alpha", and therefore also a  subclass  of  the  wide  character
       class  "alnum",	of  the  wide  character class "graph" and of the wide
       character class "print".

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

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

       Being  a subclass of the wide character class "alnum", the wide character
 class "upper" is disjoint from the wide character class "punct".

       Being a subclass of the wide character class "alpha", the wide  character
 class "upper" is disjoint from the wide character class "digit".

       The  wide character class "upper" contains at least those characters wc
       which are equal to towupper(wc) and different from towlower(wc).

       The wide character class "upper" always contains at least  the  letters
       'A' to 'Z'.

RETURN VALUE    [Toc]    [Back]

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

CONFORMING TO    [Toc]    [Back]

       ISO/ANSI C, UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       isupper(3), iswctype(3), towupper(3)

NOTES    [Toc]    [Back]

       The  behaviour of iswupper depends on the LC_CTYPE category of the current
 locale.

       This function is not very appropriate for dealing with Unicode  characters,
  because  Unicode knows about three cases: upper, lower and title
       case.



GNU				  1999-07-25			   ISWUPPER(3)
[ Back ]
 Similar pages
Name OS Title
towupper Linux convert a wide character to uppercase
iswprint Linux test for printing wide character
iswgraph Linux test for graphic wide character
iswcntrl Linux test for control wide character
iswblank Linux test for whitespace wide character
iswalpha Linux test for alphabetic wide character
iswalnum Linux test for alphanumeric wide character
iswspace Linux test for whitespace wide character
iswlower Linux test for lowercase wide character
towlower Tru64 Convert uppercase and lowercase wide characters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service