* 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.
This commit is contained in:
parent
6d383d0fde
commit
cc88e009ed
|
@ -1,3 +1,15 @@
|
|||
2013-05-22 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2013-05-22 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.
|
||||
|
|
|
@ -18,7 +18,7 @@ DESCRIPTION
|
|||
<<isalnum>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero for alphabetic or
|
||||
numeric ASCII characters, and <<0>> for other arguments. It is defined
|
||||
for all integer values.
|
||||
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 the macro using `<<#undef isalnum>>'.
|
||||
|
|
|
@ -16,8 +16,8 @@ TRAD_SYNOPSIS
|
|||
DESCRIPTION
|
||||
<<isalpha>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero when <[c]> represents an
|
||||
alphabetic ASCII character, and 0 otherwise. It is defined only when
|
||||
<<isascii>>(<[c]>) is true or <[c]> is EOF.
|
||||
alphabetic ASCII character, and 0 otherwise. 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 the macro using `<<#undef isalpha>>'.
|
||||
|
|
|
@ -17,7 +17,8 @@ TRAD_SYNOPSIS
|
|||
DESCRIPTION
|
||||
<<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.
|
||||
for other characters. It is defined only if <[c]> is representable as an
|
||||
unsigned char or if <[c]> is EOF.
|
||||
|
||||
RETURNS
|
||||
<<isblank>> returns non-zero if <[c]> is a blank character.
|
||||
|
|
|
@ -17,8 +17,8 @@ TRAD_SYNOPSIS
|
|||
DESCRIPTION
|
||||
<<iscntrl>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero for control characters, and 0
|
||||
for other characters. It is defined only when <<isascii>>(<[c]>) is
|
||||
true or <[c]> is EOF.
|
||||
for other characters. 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 the macro using `<<#undef iscntrl>>'.
|
||||
|
|
|
@ -16,8 +16,8 @@ int isdigit(<[c]>);
|
|||
DESCRIPTION
|
||||
<<isdigit>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero for decimal digits, and 0 for
|
||||
other characters. It is defined only when <<isascii>>(<[c]>) is true
|
||||
or <[c]> is EOF.
|
||||
other characters. 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 the macro using `<<#undef isdigit>>'.
|
||||
|
|
|
@ -18,7 +18,8 @@ DESCRIPTION
|
|||
<<islower>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero for minuscules
|
||||
(lowercase alphabetic characters), and 0 for other characters.
|
||||
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 the macro using `<<#undef islower>>'.
|
||||
|
|
|
@ -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>>'.
|
||||
|
|
|
@ -17,8 +17,8 @@ int ispunct(<[c]>);
|
|||
DESCRIPTION
|
||||
<<ispunct>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero for printable
|
||||
punctuation characters, and 0 for other characters. It is defined
|
||||
only when <<isascii>>(<[c]>) is true or <[c]> is EOF.
|
||||
punctuation characters, and 0 for other characters. 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 the macro using `<<#undef ispunct>>'.
|
||||
|
|
|
@ -17,8 +17,8 @@ int isxdigit(int <[c]>);
|
|||
DESCRIPTION
|
||||
<<isxdigit>> is a macro which classifies ASCII integer values by table
|
||||
lookup. It is a predicate returning non-zero for hexadecimal digits,
|
||||
and <<0>> for other characters. It is defined only when
|
||||
<<isascii>>(<[c]>) is true or <[c]> is EOF.
|
||||
and <<0>> for other characters. 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 the macro using `<<#undef isxdigit>>'.
|
||||
|
|
Loading…
Reference in New Issue