Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Standard C Library Functionstowctrans(3C)


NAME

 towctrans - wide-character mapping

SYNOPSIS

 
#include <wctype.h>
wint_t towctrans(wint_t wc, wctrans_t desc);

DESCRIPTION

 

The towctrans() function maps the wide character wc using the mapping described by desc. The current setting of the LC_CTYPE category shall be the same as during the call to wctrans() that returned the value desc.

The function call towctrans(wc, wctrans("tolower")) behaves the same as towlower(wc).

The function call towctrans(wc, wctrans("toupper")) behaves the same as towupper(wc).

RETURN VALUES

 

The towctrans() function returns the mapped value of wc, using the mapping described by desc; otherwise, it returns wc unchanged.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe with exceptions
CSIEnabled

SEE ALSO

 

setlocale(3C), wctrans(3C), attributes(5)


SunOS 5.9Go To TopLast Changed 20 Dec 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.