Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / ctype / isprint_l.c
blob535504f1406faa12f46fe5d2fdf776167880b12a
1 #include <_ansi.h>
2 #include <ctype.h>
4 #undef isgraph_l
6 int
7 isgraph_l (int c, struct __locale_t *locale)
9 return __locale_ctype_ptr_l (locale)[c+1] & (_P|_U|_L|_N);
12 #undef isprint_l
14 int
15 isprint_l (int c, struct __locale_t *locale)
17 return __locale_ctype_ptr_l (locale)[c+1] & (_P|_U|_L|_N|_B);