Retro68/gcc/newlib/libc/ctype/iswpunct_l.c
Wolfgang Thaller ec13cc9ce7 fix newlib
2018-12-29 09:59:36 +01:00

11 lines
275 B
C

#include <_ansi.h>
#include <wctype.h>
int
iswpunct_l (wint_t c, struct __locale_t *locale)
{
/* We're using a locale-independent representation of upper/lower case
based on Unicode data. Thus, the locale doesn't matter. */
return !iswalnum (c) && iswgraph (c);
}