diff options
Diffstat (limited to 'newlib/libc/ctype')
-rw-r--r-- | newlib/libc/ctype/ctype.tex | 36 | ||||
-rw-r--r-- | newlib/libc/ctype/islower.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/isupper.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswalnum.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/iswalpha.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswblank.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswcntrl.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/iswdigit.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswgraph.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswlower.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/iswprint.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswpunct.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/iswspace.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/iswupper.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/iswxdigit.c | 6 | ||||
-rw-r--r-- | newlib/libc/ctype/tolower.c | 10 | ||||
-rw-r--r-- | newlib/libc/ctype/toupper.c | 10 | ||||
-rw-r--r-- | newlib/libc/ctype/towctrans.c | 4 | ||||
-rw-r--r-- | newlib/libc/ctype/towlower.c | 10 | ||||
-rw-r--r-- | newlib/libc/ctype/towupper.c | 10 |
20 files changed, 75 insertions, 75 deletions
diff --git a/newlib/libc/ctype/ctype.tex b/newlib/libc/ctype/ctype.tex index bfdc929f7..d15e86b30 100644 --- a/newlib/libc/ctype/ctype.tex +++ b/newlib/libc/ctype/ctype.tex @@ -12,32 +12,32 @@ The header file @file{ctype.h} defines the macros. * isascii:: ASCII character predicate * iscntrl:: Control character predicate * isdigit:: Decimal digit predicate -* islower:: Lower-case character predicate +* islower:: Lowercase character predicate * isprint:: Printable character predicates (isprint, isgraph) * ispunct:: Punctuation character predicate * isspace:: Whitespace character predicate * isupper:: Uppercase character predicate * isxdigit:: Hexadecimal digit predicate * toascii:: Force integers to ASCII range -* tolower:: Translate characters to lower case -* toupper:: Translate characters to upper case -* iswalnum:: Alphanumeric wide-character predicate -* iswalpha:: Alphabetic wide-character predicate -* iswblank:: Blank wide-character predicate -* iswcntrl:: Control wide-character predicate -* iswdigit:: Decimal digit wide-character predicate -* iswgraph:: Graphic wide-character predicate -* iswlower:: Lower-case wide-character predicate -* iswprint:: Printable wide-character predicate -* iswpunct:: Punctuation wide-character predicate -* iswspace:: Whitespace wide-character predicate -* iswupper:: Uppercase wide-character predicate -* iswxdigit:: Hexadecimal digit wide-character predicate +* tolower:: Translate characters to lowercase +* toupper:: Translate characters to uppercase +* iswalnum:: Alphanumeric wide character predicate +* iswalpha:: Alphabetic wide character predicate +* iswblank:: Blank wide character predicate +* iswcntrl:: Control wide character predicate +* iswdigit:: Decimal digit wide character predicate +* iswgraph:: Graphic wide character predicate +* iswlower:: Lowercase wide character predicate +* iswprint:: Printable wide character predicate +* iswpunct:: Punctuation wide character predicate +* iswspace:: Whitespace wide character predicate +* iswupper:: Uppercase wide character predicate +* iswxdigit:: Hexadecimal digit wide character predicate * iswctype:: Extensible wide-character test * wctype:: Compute wide-character test type -* towlower:: Translate wide-characters to lower case -* towupper:: Translate wide-characters to upper case -* towctrans:: Extensible wide-character case mapping +* towlower:: Translate wide characters to lowercase +* towupper:: Translate wide characters to uppercase +* towctrans:: Extensible wide-character translation * wctrans:: Compute wide-character translation type @end menu diff --git a/newlib/libc/ctype/islower.c b/newlib/libc/ctype/islower.c index 81ad0bb27..cda484367 100644 --- a/newlib/libc/ctype/islower.c +++ b/newlib/libc/ctype/islower.c @@ -1,7 +1,7 @@ /* FUNCTION -<<islower>>---lower-case character predicate +<<islower>>---lowercase character predicate INDEX islower @@ -17,14 +17,14 @@ int islower(<[c]>); DESCRIPTION <<islower>> is a macro which classifies ASCII integer values by table lookup. It is a predicate returning non-zero for minuscules -(lower-case alphabetic characters), and 0 for other characters. +(lowercase alphabetic characters), and 0 for other characters. It is defined only when <<isascii>>(<[c]>) is true or <[c]> is EOF. You can use a compiled subroutine instead of the macro definition by undefining the macro using `<<#undef islower>>'. RETURNS -<<islower>> returns non-zero if <[c]> is a lower case letter (<<a>>--<<z>>). +<<islower>> returns non-zero if <[c]> is a lowercase letter (<<a>>--<<z>>). PORTABILITY <<islower>> is ANSI C. diff --git a/newlib/libc/ctype/isupper.c b/newlib/libc/ctype/isupper.c index 8127e25da..4cf9e9a2d 100644 --- a/newlib/libc/ctype/isupper.c +++ b/newlib/libc/ctype/isupper.c @@ -16,7 +16,7 @@ int isupper(<[c]>); DESCRIPTION <<isupper>> is a macro which classifies ASCII integer values by table -lookup. It is a predicate returning non-zero for upper-case letters +lookup. It is a predicate returning non-zero for uppercase letters (<<A>>--<<Z>>), and 0 for other characters. It is defined only when <<isascii>>(<[c]>) is true or <[c]> is EOF. @@ -24,7 +24,7 @@ You can use a compiled subroutine instead of the macro definition by undefining the macro using `<<#undef isupper>>'. RETURNS -<<isupper>> returns non-zero if <[c]> is a upper case letter (A-Z). +<<isupper>> returns non-zero if <[c]> is a uppercase letter (A-Z). PORTABILITY <<isupper>> is ANSI C. diff --git a/newlib/libc/ctype/iswalnum.c b/newlib/libc/ctype/iswalnum.c index 12613c7a1..c417cb31e 100644 --- a/newlib/libc/ctype/iswalnum.c +++ b/newlib/libc/ctype/iswalnum.c @@ -1,6 +1,6 @@ /* FUNCTION - <<iswalnum>>---alpha-numeric wide-character test + <<iswalnum>>---alphanumeric wide character test INDEX iswalnum @@ -16,10 +16,10 @@ TRAD_SYNOPSIS DESCRIPTION <<iswalnum>> is a function which classifies wide-character values that -are alpha-numeric. +are alphanumeric. RETURNS -<<iswalnum>> returns non-zero if <[c]> is a alpha-numeric wide-character. +<<iswalnum>> returns non-zero if <[c]> is a alphanumeric wide character. PORTABILITY <<iswalnum>> is C99. diff --git a/newlib/libc/ctype/iswalpha.c b/newlib/libc/ctype/iswalpha.c index 0e987a992..7f8de8e59 100644 --- a/newlib/libc/ctype/iswalpha.c +++ b/newlib/libc/ctype/iswalpha.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswalpha>>---alphabetic wide-character test + <<iswalpha>>---alphabetic wide character test INDEX iswalpha @@ -48,7 +48,7 @@ DESCRIPTION are alphabetic. RETURNS -<<iswalpha>> returns non-zero if <[c]> is an alphabetic wide-character. +<<iswalpha>> returns non-zero if <[c]> is an alphabetic wide character. PORTABILITY <<iswalpha>> is C99. diff --git a/newlib/libc/ctype/iswblank.c b/newlib/libc/ctype/iswblank.c index b10756d5e..48205bb17 100644 --- a/newlib/libc/ctype/iswblank.c +++ b/newlib/libc/ctype/iswblank.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswblank>>---wide-character blank test + <<iswblank>>---blank wide character test INDEX iswblank @@ -48,7 +48,7 @@ DESCRIPTION are categorized as blank. RETURNS -<<iswblank>> returns non-zero if <[c]> is a blank wide-character. +<<iswblank>> returns non-zero if <[c]> is a blank wide character. PORTABILITY <<iswblank>> is C99. diff --git a/newlib/libc/ctype/iswcntrl.c b/newlib/libc/ctype/iswcntrl.c index d09295225..15ff1fa67 100644 --- a/newlib/libc/ctype/iswcntrl.c +++ b/newlib/libc/ctype/iswcntrl.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswcntrl>>---wide-character cntrl test + <<iswcntrl>>---control wide character test INDEX iswcntrl @@ -45,10 +45,10 @@ TRAD_SYNOPSIS DESCRIPTION <<iswcntrl>> is a function which classifies wide-character values that -are categorized as a control character. +are categorized as control characters. RETURNS -<<iswcntrl>> returns non-zero if <[c]> is a control wide-character. +<<iswcntrl>> returns non-zero if <[c]> is a control wide character. PORTABILITY <<iswcntrl>> is C99. diff --git a/newlib/libc/ctype/iswdigit.c b/newlib/libc/ctype/iswdigit.c index 94c74ae9c..8ba5d5f0e 100644 --- a/newlib/libc/ctype/iswdigit.c +++ b/newlib/libc/ctype/iswdigit.c @@ -1,6 +1,6 @@ /* FUNCTION - <<iswdigit>>---decimal digit wide-character test + <<iswdigit>>---decimal digit wide character test INDEX iswdigit @@ -19,7 +19,7 @@ DESCRIPTION are decimal digits. RETURNS -<<iswdigit>> returns non-zero if <[c]> is a decimal digit wide-character. +<<iswdigit>> returns non-zero if <[c]> is a decimal digit wide character. PORTABILITY <<iswdigit>> is C99. diff --git a/newlib/libc/ctype/iswgraph.c b/newlib/libc/ctype/iswgraph.c index 880c66478..bb1e519f1 100644 --- a/newlib/libc/ctype/iswgraph.c +++ b/newlib/libc/ctype/iswgraph.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswgraph>>---graphic wide-character test + <<iswgraph>>---graphic wide character test INDEX iswgraph @@ -48,7 +48,7 @@ DESCRIPTION are graphic. RETURNS -<<iswgraph>> returns non-zero if <[c]> is a graphic wide-character. +<<iswgraph>> returns non-zero if <[c]> is a graphic wide character. PORTABILITY <<iswgraph>> is C99. diff --git a/newlib/libc/ctype/iswlower.c b/newlib/libc/ctype/iswlower.c index d320486a9..683a9cbb0 100644 --- a/newlib/libc/ctype/iswlower.c +++ b/newlib/libc/ctype/iswlower.c @@ -1,7 +1,7 @@ /* FUNCTION - <<iswlower>>---lower-case wide-character test + <<iswlower>>---lowercase wide character test INDEX iswlower @@ -17,10 +17,10 @@ TRAD_SYNOPSIS DESCRIPTION <<iswlower>> is a function which classifies wide-character values that -have an upper-case translation. +have uppercase translations. RETURNS -<<iswlower>> returns non-zero if <[c]> is a lower-case wide-character. +<<iswlower>> returns non-zero if <[c]> is a lowercase wide character. PORTABILITY <<iswlower>> is C99. diff --git a/newlib/libc/ctype/iswprint.c b/newlib/libc/ctype/iswprint.c index f4ec08752..6c0cc553d 100644 --- a/newlib/libc/ctype/iswprint.c +++ b/newlib/libc/ctype/iswprint.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswprint>>---printable wide-character test + <<iswprint>>---printable wide character test INDEX iswprint @@ -48,7 +48,7 @@ DESCRIPTION are printable. RETURNS -<<iswprint>> returns non-zero if <[c]> is a printable wide-character. +<<iswprint>> returns non-zero if <[c]> is a printable wide character. PORTABILITY <<iswprint>> is C99. diff --git a/newlib/libc/ctype/iswpunct.c b/newlib/libc/ctype/iswpunct.c index 88442b6ca..c6a4eda83 100644 --- a/newlib/libc/ctype/iswpunct.c +++ b/newlib/libc/ctype/iswpunct.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswpunct>>---punctuation wide-character test + <<iswpunct>>---punctuation wide character test INDEX iswpunct @@ -48,7 +48,7 @@ DESCRIPTION are punctuation. RETURNS -<<iswpunct>> returns non-zero if <[c]> is a punctuation wide-character. +<<iswpunct>> returns non-zero if <[c]> is a punctuation wide character. PORTABILITY <<iswpunct>> is C99. diff --git a/newlib/libc/ctype/iswspace.c b/newlib/libc/ctype/iswspace.c index f4d0a0b91..e10a35df6 100644 --- a/newlib/libc/ctype/iswspace.c +++ b/newlib/libc/ctype/iswspace.c @@ -29,7 +29,7 @@ /* FUNCTION - <<iswspace>>---wide-character space test + <<iswspace>>---whitespace wide character test INDEX iswspace @@ -45,10 +45,10 @@ TRAD_SYNOPSIS DESCRIPTION <<iswspace>> is a function which classifies wide-character values that -are categorized as white-space. +are categorized as whitespace. RETURNS -<<iswspace>> returns non-zero if <[c]> is a white-space wide-character. +<<iswspace>> returns non-zero if <[c]> is a whitespace wide character. PORTABILITY <<iswspace>> is C99. diff --git a/newlib/libc/ctype/iswupper.c b/newlib/libc/ctype/iswupper.c index 872475da2..424d65240 100644 --- a/newlib/libc/ctype/iswupper.c +++ b/newlib/libc/ctype/iswupper.c @@ -1,7 +1,7 @@ /* FUNCTION - <<iswupper>>---upper-case wide-character test + <<iswupper>>---uppercase wide character test INDEX iswupper @@ -17,10 +17,10 @@ TRAD_SYNOPSIS DESCRIPTION <<iswupper>> is a function which classifies wide-character values that -have an upper-case translation. +have uppercase translations. RETURNS -<<iswupper>> returns non-zero if <[c]> is a upper-case wide-character. +<<iswupper>> returns non-zero if <[c]> is a uppercase wide character. PORTABILITY <<iswupper>> is C99. diff --git a/newlib/libc/ctype/iswxdigit.c b/newlib/libc/ctype/iswxdigit.c index 73d8fa445..4cf76fa25 100644 --- a/newlib/libc/ctype/iswxdigit.c +++ b/newlib/libc/ctype/iswxdigit.c @@ -1,6 +1,6 @@ /* FUNCTION - <<iswxdigit>>---hexadecimal digit wide-character test + <<iswxdigit>>---hexadecimal digit wide character test INDEX iswxdigit @@ -15,11 +15,11 @@ TRAD_SYNOPSIS wint_t <[c]>; DESCRIPTION -<<iswxdigit>> is a function which classifies wide-character values that +<<iswxdigit>> is a function which classifies wide character values that are hexadecimal digits. RETURNS -<<iswxdigit>> returns non-zero if <[c]> is a hexadecimal digit wide-character. +<<iswxdigit>> returns non-zero if <[c]> is a hexadecimal digit wide character. PORTABILITY <<iswxdigit>> is C99. diff --git a/newlib/libc/ctype/tolower.c b/newlib/libc/ctype/tolower.c index e43fa6c9d..bdd22bfc5 100644 --- a/newlib/libc/ctype/tolower.c +++ b/newlib/libc/ctype/tolower.c @@ -1,6 +1,6 @@ /* FUNCTION - <<tolower>>---translate characters to lower case + <<tolower>>---translate characters to lowercase INDEX tolower @@ -19,8 +19,8 @@ TRAD_SYNOPSIS DESCRIPTION -<<tolower>> is a macro which converts upper-case characters to lower -case, leaving all other characters unchanged. It is only defined when +<<tolower>> is a macro which converts uppercase characters to lowercase, +leaving all other characters unchanged. It is only defined when <[c]> is an integer in the range <<EOF>> to <<255>>. You can use a compiled subroutine instead of the macro definition by @@ -30,10 +30,10 @@ undefining this macro using `<<#undef tolower>>'. only be used when <[c]> is known to be an uppercase character (<<A>>--<<Z>>). RETURNS -<<tolower>> returns the lower-case equivalent of <[c]> when it is a +<<tolower>> returns the lowercase equivalent of <[c]> when it is a character between <<A>> and <<Z>>, and <[c]> otherwise. -<<_tolower>> returns the lower-case equivalent of <[c]> when it is a +<<_tolower>> returns the lowercase equivalent of <[c]> when it is a character between <<A>> and <<Z>>. If <[c]> is not one of these characters, the behaviour of <<_tolower>> is undefined. diff --git a/newlib/libc/ctype/toupper.c b/newlib/libc/ctype/toupper.c index 7977beb79..26f64b6dc 100644 --- a/newlib/libc/ctype/toupper.c +++ b/newlib/libc/ctype/toupper.c @@ -1,6 +1,6 @@ /* FUNCTION - <<toupper>>---translate characters to upper case + <<toupper>>---translate characters to uppercase INDEX toupper @@ -19,8 +19,8 @@ TRAD_SYNOPSIS DESCRIPTION -<<toupper>> is a macro which converts lower-case characters to upper -case, leaving all other characters unchanged. It is only defined when +<<toupper>> is a macro which converts lowercase characters to uppercase, +leaving all other characters unchanged. It is only defined when <[c]> is an integer in the range <<EOF>> to <<255>>. You can use a compiled subroutine instead of the macro definition by @@ -30,10 +30,10 @@ undefining this macro using `<<#undef toupper>>'. only be used when <[c]> is known to be a lowercase character (<<a>>--<<z>>). RETURNS -<<toupper>> returns the upper-case equivalent of <[c]> when it is a +<<toupper>> returns the uppercase equivalent of <[c]> when it is a character between <<a>> and <<z>>, and <[c]> otherwise. -<<_toupper>> returns the upper-case equivalent of <[c]> when it is a +<<_toupper>> returns the uppercase equivalent of <[c]> when it is a character between <<a>> and <<z>>. If <[c]> is not one of these characters, the behaviour of <<_toupper>> is undefined. diff --git a/newlib/libc/ctype/towctrans.c b/newlib/libc/ctype/towctrans.c index cf2162670..416a491d3 100644 --- a/newlib/libc/ctype/towctrans.c +++ b/newlib/libc/ctype/towctrans.c @@ -29,7 +29,7 @@ /* FUNCTION - <<towctrans>>---extensible wide-character case mapping + <<towctrans>>---extensible wide-character translation INDEX towctrans @@ -46,7 +46,7 @@ TRAD_SYNOPSIS DESCRIPTION -<<towctrans>> is a function which converts wide-characters based on +<<towctrans>> is a function which converts wide characters based on a specified translation type <[w]>. If the translation type is invalid or cannot be applied to the current character, no change to the character is made. diff --git a/newlib/libc/ctype/towlower.c b/newlib/libc/ctype/towlower.c index 5c36a31a6..89873c2f1 100644 --- a/newlib/libc/ctype/towlower.c +++ b/newlib/libc/ctype/towlower.c @@ -29,7 +29,7 @@ /* FUNCTION - <<towlower>>---translate wide-characters to lower case + <<towlower>>---translate wide characters to lowercase INDEX towlower @@ -45,12 +45,12 @@ TRAD_SYNOPSIS DESCRIPTION -<<towlower>> is a function which converts upper-case wide-characters to lower -case, leaving all other characters unchanged. +<<towlower>> is a function which converts uppercase wide characters to +lowercase, leaving all other characters unchanged. RETURNS -<<towlower>> returns the lower-case equivalent of <[c]> when it is a -upper-case wide-character, otherwise, it returns the input character. +<<towlower>> returns the lowercase equivalent of <[c]> when it is a +uppercase wide character; otherwise, it returns the input character. PORTABILITY <<towlower>> is C99. diff --git a/newlib/libc/ctype/towupper.c b/newlib/libc/ctype/towupper.c index 530aebf3a..ec6c4ffa4 100644 --- a/newlib/libc/ctype/towupper.c +++ b/newlib/libc/ctype/towupper.c @@ -29,7 +29,7 @@ /* FUNCTION - <<towupper>>---translate wide-characters to upper case + <<towupper>>---translate wide characters to uppercase INDEX towupper @@ -45,12 +45,12 @@ TRAD_SYNOPSIS DESCRIPTION -<<towupper>> is a function which converts lower-case wide-characters to upper -case, leaving all other characters unchanged. +<<towupper>> is a function which converts lowercase wide characters to +uppercase, leaving all other characters unchanged. RETURNS -<<towupper>> returns the upper-case equivalent of <[c]> when it is a -lower-case wide-character, otherwise, it returns the input character. +<<towupper>> returns the uppercase equivalent of <[c]> when it is a +lowercase wide character, otherwise, it returns the input character. PORTABILITY <<towupper>> is C99. |