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

  man pages->Tru64 Unix man pages -> towlower (3)              
Title
Content
Arch
Section
 

towlower(3)

Contents


NAME    [Toc]    [Back]

       towlower,  towupper - Convert uppercase and lowercase wide
       characters

SYNOPSIS    [Toc]    [Back]

       #include <wctype.h>

       wint_t towlower(
               wint_t wc ); wint_t towupper(
               wint_t wc );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       towlower(), towupper(): XSH5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

PARAMETERS    [Toc]    [Back]

       Specifies the wide character to convert.

DESCRIPTION    [Toc]    [Back]

       The towlower() function converts the uppercase wide  character
 specified by the wc parameter into the corresponding
       lowercase wide character.  The  towupper()  function  converts
  the  lowercase  wide  character specified by the wc
       parameter into the corresponding uppercase wide character.
       The  behavior  of  the towlower() and towupper() functions
       are affected by the LC_CTYPE  category  of  the  program's
       locale.

       [Tru64  UNIX]  In  a locale where case conversion information
 is not defined, these functions determine the case of
       characters according to the rules of the C locale.

RETURN VALUES    [Toc]    [Back]

       In  the  towlower() function, if the wc parameter contains
       an uppercase wide character that has a corresponding  lowercase
  wide  character,  that wide character is returned.
       Otherwise, the wc parameter is returned unchanged.

       In the towupper() function, if the wc parameter contains a
       lowercase  wide  character that has a corresponding uppercase
 wide character, that wide character is returned. Otherwise,
 the wc parameter is returned unchanged.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: conv(3), setlocale(3), towctrans(3), wctrans(3)

       Standards: standards(5)



                                                      towlower(3)
[ Back ]
 Similar pages
Name OS Title
towlower Linux convert a wide character to lowercase
towupper Linux convert a wide character to uppercase
iswlower Linux test for lowercase wide character
iswupper Linux test for uppercase wide character
btowc FreeBSD convert between wide and single-byte characters
wctob FreeBSD convert between wide and single-byte characters
wmemset Linux fill an array of wide-characters with a constant wide character
wcsspn Linux advance in a wide-character string, skipping any of a set of wide characters
wcscspn Linux search a wide-character string for any of a set of wide characters
wcspbrk Linux search a wide-character string for any of a set of wide characters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service