Back to index

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

Go to the source code of this file.




int __iswctype_l (wint_t wc, wctype_t desc, __locale_t locale)

Define Documentation

Definition at line 23 of file iswctype_l.c.

Function Documentation

int __iswctype_l ( wint_t  wc,
wctype_t  desc,
__locale_t  locale 

Definition at line 28 of file iswctype_l.c.

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

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