Back to index

glibc  2.9
towctrans.c File Reference
#include <wctype.h>
#include "wchar-lookup.h"

Go to the source code of this file.


wint_t __towctrans (wint_t wc, wctrans_t desc)

Function Documentation

wint_t __towctrans ( wint_t  wc,
wctrans_t  desc 

Definition at line 26 of file towctrans.c.

  /* If the user passes in an invalid DESC valid (the one returned from
     `wctrans' in case of an error) simply return the value.  */
  if (desc == (wctrans_t) 0)
    return wc;

  return wctrans_table_lookup ((const char *) desc, wc);

Here is the caller graph for this function: