VMS Help  —  CRTL  towctrans
    Maps one wide character to another according to a specified
    mapping descriptor.

    Format

      #include  <wctype.h>

      wint_t towctrans  (wint_t wc, wctrans_t desc);

1  –  Arguments

 wc

    The wide character that you want to map.

 desc

    Description of the mapping obtained through a call to the wctrans
    function.

2  –  Description

    The towctrans function maps the wide character specified in wc,
    using the mapping described by desc.

    The current setting of the LC_CTYPE category must be the same as
    during the call to the wctrans function that returned the value
    of desc.

3  –  Return Value

    x                  The mapped value of the wc wide character,
                       if this character exists in the mapping
                       described by desc. Otherwise, the value of
                       wc is returned.
Close Help