Welcome to mirror list, hosted at ThFree Co, Russian Federation.

iswxdigit_l.c « ctype « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a4c339d48c9c3333d842651a13ddff102ca0d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <_ansi.h>
#include <wctype.h>

int
iswxdigit_l (wint_t c, struct __locale_t *locale)
{
  return ((c >= (wint_t)'0' && c <= (wint_t)'9') ||
	  (c >= (wint_t)'a' && c <= (wint_t)'f') ||
	  (c >= (wint_t)'A' && c <= (wint_t)'F'));
}