branch update for HEAD-2003021201
[reactos.git] / lib / crtdll / ctype / isprint.c
1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/ctype.h>
3
4 #undef isprint
5 int isprint(int c)
6 {
7   return _isctype(c,_BLANK | _PUNCT | _ALPHA | _DIGIT);
8 }
9
10 int iswprint(wint_t c)
11 {
12   return iswctype((unsigned short)c,_BLANK | _PUNCT | _ALPHA | _DIGIT);
13 }