Back to index

glibc  2.9
Defines | Functions
towctrans_l.c File Reference
#include <wctype.h>
#include "wchar-lookup.h"

Go to the source code of this file.




wint_t __towctrans_l (wint_t wc, wctrans_t desc, __locale_t locale)

Define Documentation

Definition at line 23 of file towctrans_l.c.

Function Documentation

wint_t __towctrans_l ( wint_t  wc,
wctrans_t  desc,
__locale_t  locale 

Definition at line 27 of file towctrans_l.c.

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

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