diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-05-23 18:46:51 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-05-23 18:46:51 +0400 |
commit | cc88e009edc0ac57241551c8bff2ee21269a2fb6 (patch) | |
tree | f3850ac24a3cf8888363ea8b43765ea3a2fce1b7 /newlib/libc/ctype/isprint.c | |
parent | 6d383d0fded9d23dfd0cb5e0e21dab45e8863f3d (diff) |
* libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.
* libc/ctype/isalpha.c: Ditto.
* libc/ctype/isblank.c: Ditto.
* libc/ctype/iscntrl.c: Ditto.
* libc/ctype/isdigit.c: Ditto.
* libc/ctype/islower.c: Ditto.
* libc/ctype/isprint.c: Ditto.
* libc/ctype/ispunct.c: Ditto.
* libc/ctype/isxdigit.c: Ditto.
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>>'. |