diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-10-16 00:36:26 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-10-16 00:36:26 +0400 |
commit | bc5585e6e528862e461ade6a7e94cf3da59185f1 (patch) | |
tree | b1ffafd134d3b8b248348bb343fce6fae8f07359 /newlib/libc/ctype | |
parent | 236e5c4017a3b63c6fc75b8cdf688b7532883266 (diff) |
2008-10-15 Craig Howland <howland@LGSInnovations.com>
* libc/include/ctype.h (isblank): isblank is C99.
* libc/ctype/isblank.c (isblank comments): ditto. isblank does not
have a macro version (as was claimed in the description).
Diffstat (limited to 'newlib/libc/ctype')
-rw-r--r-- | newlib/libc/ctype/isblank.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/newlib/libc/ctype/isblank.c b/newlib/libc/ctype/isblank.c index c75d8ab02..3e124d8f7 100644 --- a/newlib/libc/ctype/isblank.c +++ b/newlib/libc/ctype/isblank.c @@ -15,16 +15,17 @@ TRAD_SYNOPSIS int isblank(<[c]>); DESCRIPTION -<<isblank>> is a macro which classifies ASCII integer values by table -lookup. It is a predicate returning non-zero for blank characters, and 0 +<<isblank>> is a function which classifies ASCII integer values by table +lookup. It is a predicate returning non-zero for blank characters, and 0 for other characters. -You can use a compiled subroutine instead of the macro definition by -undefining the macro using `<<#undef isblank>>'. - RETURNS <<isblank>> returns non-zero if <[c]> is a blank character. +PORTABILITY +<<isblank>> is C99. + +No supporting OS subroutines are required. */ #include <_ansi.h> |