diff options
Diffstat (limited to 'newlib/libc/ctype/isprint.c')
-rw-r--r-- | newlib/libc/ctype/isprint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/ctype/isprint.c b/newlib/libc/ctype/isprint.c index 2f317a291..b95aedd16 100644 --- a/newlib/libc/ctype/isprint.c +++ b/newlib/libc/ctype/isprint.c @@ -23,7 +23,8 @@ DESCRIPTION <<isprint>> is a macro which classifies ASCII integer values by table lookup. It is a predicate returning non-zero for printable characters, and 0 for other character arguments. -It is defined only when <<isascii>>(<[c]>) is true or <[c]> is EOF. +It is defined only if <[c]> is representable as an unsigned char or if +<[c]> is EOF. You can use a compiled subroutine instead of the macro definition by undefining either macro using `<<#undef isprint>>' or `<<#undef isgraph>>'. |