Welcome to mirror list, hosted at ThFree Co, Russian Federation.

isprint_l.c « ctype « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 535504f1406faa12f46fe5d2fdf776167880b12a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <_ansi.h>
#include <ctype.h>

#undef isgraph_l

int
isgraph_l (int c, struct __locale_t *locale)
{
  return __locale_ctype_ptr_l (locale)[c+1] & (_P|_U|_L|_N);
}

#undef isprint_l

int
isprint_l (int c, struct __locale_t *locale)
{
  return __locale_ctype_ptr_l (locale)[c+1] & (_P|_U|_L|_N|_B);
}