libc/newlib/libc/ctype/ispunct_l.c

12 lines
161 B
C

#include <_ansi.h>
#include <ctype.h>
#undef ispunct_l
int
ispunct_l (int c, struct __locale_t *locale)
{
return __locale_ctype_ptr_l (locale)[c+1] & _P;
}