mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 11:00:41 +08:00
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).
This commit is contained in:
parent
236e5c4017
commit
bc5585e6e5
@ -1,3 +1,9 @@
|
|||||||
|
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).
|
||||||
|
|
||||||
2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
|
2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
|
* libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
|
||||||
|
@ -15,16 +15,17 @@ TRAD_SYNOPSIS
|
|||||||
int isblank(<[c]>);
|
int isblank(<[c]>);
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
<<isblank>> is a macro which classifies ASCII integer values by table
|
<<isblank>> is a function which classifies ASCII integer values by table
|
||||||
lookup. It is a predicate returning non-zero for blank characters, and 0
|
lookup. It is a predicate returning non-zero for blank characters, and 0
|
||||||
for other characters.
|
for other characters.
|
||||||
|
|
||||||
You can use a compiled subroutine instead of the macro definition by
|
|
||||||
undefining the macro using `<<#undef isblank>>'.
|
|
||||||
|
|
||||||
RETURNS
|
RETURNS
|
||||||
<<isblank>> returns non-zero if <[c]> is a blank character.
|
<<isblank>> returns non-zero if <[c]> is a blank character.
|
||||||
|
|
||||||
|
PORTABILITY
|
||||||
|
<<isblank>> is C99.
|
||||||
|
|
||||||
|
No supporting OS subroutines are required.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <_ansi.h>
|
#include <_ansi.h>
|
||||||
|
@ -19,8 +19,12 @@ int _EXFUN(isxdigit,(int __c));
|
|||||||
int _EXFUN(tolower, (int __c));
|
int _EXFUN(tolower, (int __c));
|
||||||
int _EXFUN(toupper, (int __c));
|
int _EXFUN(toupper, (int __c));
|
||||||
|
|
||||||
#ifndef __STRICT_ANSI__
|
#if !defined(__STRICT_ANSI__) || \
|
||||||
|
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 1999901L)
|
||||||
int _EXFUN(isblank, (int __c));
|
int _EXFUN(isblank, (int __c));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __STRICT_ANSI__
|
||||||
int _EXFUN(isascii, (int __c));
|
int _EXFUN(isascii, (int __c));
|
||||||
int _EXFUN(toascii, (int __c));
|
int _EXFUN(toascii, (int __c));
|
||||||
int _EXFUN(_tolower, (int __c));
|
int _EXFUN(_tolower, (int __c));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user