Back to index

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

Go to the source code of this file.


int __iswctype (wint_t wc, wctype_t desc)

Function Documentation

int __iswctype ( wint_t  wc,
wctype_t  desc 

Definition at line 28 of file iswctype.c.

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

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