/* Copyright (c) 2016 Corinna Vinschen Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */ #define _DEFAULT_SOURCE #include int iswdigit_l (wint_t c, struct __locale_t *locale) { (void) locale; return c >= (wint_t)'0' && c <= (wint_t)'9'; }