1 /* 2 Copyright (c) 2016 Corinna Vinschen <corinna@vinschen.de> 3 Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling 4 */ 5 #define _DEFAULT_SOURCE 6 #include <_ansi.h> 7 #include <wctype.h> 8 9 int iswdigit_l(wint_t c,struct __locale_t * locale)10iswdigit_l (wint_t c, struct __locale_t *locale) 11 { 12 (void) locale; 13 return c >= (wint_t)'0' && c <= (wint_t)'9'; 14 } 15