Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/ctype')
-rw-r--r--newlib/libc/ctype/ctype.tex36
-rw-r--r--newlib/libc/ctype/islower.c6
-rw-r--r--newlib/libc/ctype/isupper.c4
-rw-r--r--newlib/libc/ctype/iswalnum.c6
-rw-r--r--newlib/libc/ctype/iswalpha.c4
-rw-r--r--newlib/libc/ctype/iswblank.c4
-rw-r--r--newlib/libc/ctype/iswcntrl.c6
-rw-r--r--newlib/libc/ctype/iswdigit.c4
-rw-r--r--newlib/libc/ctype/iswgraph.c4
-rw-r--r--newlib/libc/ctype/iswlower.c6
-rw-r--r--newlib/libc/ctype/iswprint.c4
-rw-r--r--newlib/libc/ctype/iswpunct.c4
-rw-r--r--newlib/libc/ctype/iswspace.c6
-rw-r--r--newlib/libc/ctype/iswupper.c6
-rw-r--r--newlib/libc/ctype/iswxdigit.c6
-rw-r--r--newlib/libc/ctype/tolower.c10
-rw-r--r--newlib/libc/ctype/toupper.c10
-rw-r--r--newlib/libc/ctype/towctrans.c4
-rw-r--r--newlib/libc/ctype/towlower.c10
-rw-r--r--newlib/libc/ctype/towupper.c10
20 files changed, 75 insertions, 75 deletions
diff --git a/newlib/libc/ctype/ctype.tex b/newlib/libc/ctype/ctype.tex
index d15e86b30..bfdc929f7 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:: Lowercase character predicate
+* islower:: Lower-case 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 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
+* 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
* iswctype:: Extensible wide-character test
* wctype:: Compute wide-character test type
-* towlower:: Translate wide characters to lowercase
-* towupper:: Translate wide characters to uppercase
-* towctrans:: Extensible wide-character translation
+* towlower:: Translate wide-characters to lower case
+* towupper:: Translate wide-characters to upper case
+* towctrans:: Extensible wide-character case mapping
* wctrans:: Compute wide-character translation type
@end menu
diff --git a/newlib/libc/ctype/islower.c b/newlib/libc/ctype/islower.c
index cda484367..81ad0bb27 100644
--- a/newlib/libc/ctype/islower.c
+++ b/newlib/libc/ctype/islower.c
@@ -1,7 +1,7 @@
/*
FUNCTION
-<<islower>>---lowercase character predicate
+<<islower>>---lower-case 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
-(lowercase alphabetic characters), and 0 for other characters.
+(lower-case 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 lowercase letter (<<a>>--<<z>>).
+<<islower>> returns non-zero if <[c]> is a lower case letter (<<a>>--<<z>>).
PORTABILITY
<<islower>> is ANSI C.
diff --git a/newlib/libc/ctype/isupper.c b/newlib/libc/ctype/isupper.c
index 4cf9e9a2d..8127e25da 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 uppercase letters
+lookup. It is a predicate returning non-zero for upper-case 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 uppercase letter (A-Z).
+<<isupper>> returns non-zero if <[c]> is a upper case letter (A-Z).
PORTABILITY
<<isupper>> is ANSI C.
diff --git a/newlib/libc/ctype/iswalnum.c b/newlib/libc/ctype/iswalnum.c
index c417cb31e..12613c7a1 100644
--- a/newlib/libc/ctype/iswalnum.c
+++ b/newlib/libc/ctype/iswalnum.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<iswalnum>>---alphanumeric wide character test
+ <<iswalnum>>---alpha-numeric wide-character test
INDEX
iswalnum
@@ -16,10 +16,10 @@ TRAD_SYNOPSIS
DESCRIPTION
<<iswalnum>> is a function which classifies wide-character values that
-are alphanumeric.
+are alpha-numeric.
RETURNS
-<<iswalnum>> returns non-zero if <[c]> is a alphanumeric wide character.
+<<iswalnum>> returns non-zero if <[c]> is a alpha-numeric wide-character.
PORTABILITY
<<iswalnum>> is C99.
diff --git a/newlib/libc/ctype/iswalpha.c b/newlib/libc/ctype/iswalpha.c
index 7f8de8e59..0e987a992 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 48205bb17..b10756d5e 100644
--- a/newlib/libc/ctype/iswblank.c
+++ b/newlib/libc/ctype/iswblank.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<iswblank>>---blank wide character test
+ <<iswblank>>---wide-character blank 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 15ff1fa67..d09295225 100644
--- a/newlib/libc/ctype/iswcntrl.c
+++ b/newlib/libc/ctype/iswcntrl.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<iswcntrl>>---control wide character test
+ <<iswcntrl>>---wide-character cntrl test
INDEX
iswcntrl
@@ -45,10 +45,10 @@ TRAD_SYNOPSIS
DESCRIPTION
<<iswcntrl>> is a function which classifies wide-character values that
-are categorized as control characters.
+are categorized as a control character.
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 8ba5d5f0e..94c74ae9c 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 bb1e519f1..880c66478 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 683a9cbb0..d320486a9 100644
--- a/newlib/libc/ctype/iswlower.c
+++ b/newlib/libc/ctype/iswlower.c
@@ -1,7 +1,7 @@
/*
FUNCTION
- <<iswlower>>---lowercase wide character test
+ <<iswlower>>---lower-case wide-character test
INDEX
iswlower
@@ -17,10 +17,10 @@ TRAD_SYNOPSIS
DESCRIPTION
<<iswlower>> is a function which classifies wide-character values that
-have uppercase translations.
+have an upper-case translation.
RETURNS
-<<iswlower>> returns non-zero if <[c]> is a lowercase wide character.
+<<iswlower>> returns non-zero if <[c]> is a lower-case wide-character.
PORTABILITY
<<iswlower>> is C99.
diff --git a/newlib/libc/ctype/iswprint.c b/newlib/libc/ctype/iswprint.c
index 6c0cc553d..f4ec08752 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 c6a4eda83..88442b6ca 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 e10a35df6..f4d0a0b91 100644
--- a/newlib/libc/ctype/iswspace.c
+++ b/newlib/libc/ctype/iswspace.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<iswspace>>---whitespace wide character test
+ <<iswspace>>---wide-character space test
INDEX
iswspace
@@ -45,10 +45,10 @@ TRAD_SYNOPSIS
DESCRIPTION
<<iswspace>> is a function which classifies wide-character values that
-are categorized as whitespace.
+are categorized as white-space.
RETURNS
-<<iswspace>> returns non-zero if <[c]> is a whitespace wide character.
+<<iswspace>> returns non-zero if <[c]> is a white-space wide-character.
PORTABILITY
<<iswspace>> is C99.
diff --git a/newlib/libc/ctype/iswupper.c b/newlib/libc/ctype/iswupper.c
index 424d65240..872475da2 100644
--- a/newlib/libc/ctype/iswupper.c
+++ b/newlib/libc/ctype/iswupper.c
@@ -1,7 +1,7 @@
/*
FUNCTION
- <<iswupper>>---uppercase wide character test
+ <<iswupper>>---upper-case wide-character test
INDEX
iswupper
@@ -17,10 +17,10 @@ TRAD_SYNOPSIS
DESCRIPTION
<<iswupper>> is a function which classifies wide-character values that
-have uppercase translations.
+have an upper-case translation.
RETURNS
-<<iswupper>> returns non-zero if <[c]> is a uppercase wide character.
+<<iswupper>> returns non-zero if <[c]> is a upper-case wide-character.
PORTABILITY
<<iswupper>> is C99.
diff --git a/newlib/libc/ctype/iswxdigit.c b/newlib/libc/ctype/iswxdigit.c
index 4cf76fa25..73d8fa445 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 bdd22bfc5..e43fa6c9d 100644
--- a/newlib/libc/ctype/tolower.c
+++ b/newlib/libc/ctype/tolower.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<tolower>>---translate characters to lowercase
+ <<tolower>>---translate characters to lower case
INDEX
tolower
@@ -19,8 +19,8 @@ TRAD_SYNOPSIS
DESCRIPTION
-<<tolower>> is a macro which converts uppercase characters to lowercase,
-leaving all other characters unchanged. It is only defined when
+<<tolower>> is a macro which converts upper-case characters to lower
+case, 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 lowercase equivalent of <[c]> when it is a
+<<tolower>> returns the lower-case equivalent of <[c]> when it is a
character between <<A>> and <<Z>>, and <[c]> otherwise.
-<<_tolower>> returns the lowercase equivalent of <[c]> when it is a
+<<_tolower>> returns the lower-case 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 26f64b6dc..7977beb79 100644
--- a/newlib/libc/ctype/toupper.c
+++ b/newlib/libc/ctype/toupper.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<toupper>>---translate characters to uppercase
+ <<toupper>>---translate characters to upper case
INDEX
toupper
@@ -19,8 +19,8 @@ TRAD_SYNOPSIS
DESCRIPTION
-<<toupper>> is a macro which converts lowercase characters to uppercase,
-leaving all other characters unchanged. It is only defined when
+<<toupper>> is a macro which converts lower-case characters to upper
+case, 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 uppercase equivalent of <[c]> when it is a
+<<toupper>> returns the upper-case equivalent of <[c]> when it is a
character between <<a>> and <<z>>, and <[c]> otherwise.
-<<_toupper>> returns the uppercase equivalent of <[c]> when it is a
+<<_toupper>> returns the upper-case 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 416a491d3..cf2162670 100644
--- a/newlib/libc/ctype/towctrans.c
+++ b/newlib/libc/ctype/towctrans.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<towctrans>>---extensible wide-character translation
+ <<towctrans>>---extensible wide-character case mapping
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 89873c2f1..5c36a31a6 100644
--- a/newlib/libc/ctype/towlower.c
+++ b/newlib/libc/ctype/towlower.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<towlower>>---translate wide characters to lowercase
+ <<towlower>>---translate wide-characters to lower case
INDEX
towlower
@@ -45,12 +45,12 @@ TRAD_SYNOPSIS
DESCRIPTION
-<<towlower>> is a function which converts uppercase wide characters to
-lowercase, leaving all other characters unchanged.
+<<towlower>> is a function which converts upper-case wide-characters to lower
+case, leaving all other characters unchanged.
RETURNS
-<<towlower>> returns the lowercase equivalent of <[c]> when it is a
-uppercase wide character; otherwise, it returns the input character.
+<<towlower>> returns the lower-case equivalent of <[c]> when it is a
+upper-case 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 ec6c4ffa4..530aebf3a 100644
--- a/newlib/libc/ctype/towupper.c
+++ b/newlib/libc/ctype/towupper.c
@@ -29,7 +29,7 @@
/*
FUNCTION
- <<towupper>>---translate wide characters to uppercase
+ <<towupper>>---translate wide-characters to upper case
INDEX
towupper
@@ -45,12 +45,12 @@ TRAD_SYNOPSIS
DESCRIPTION
-<<towupper>> is a function which converts lowercase wide characters to
-uppercase, leaving all other characters unchanged.
+<<towupper>> is a function which converts lower-case wide-characters to upper
+case, leaving all other characters unchanged.
RETURNS
-<<towupper>> returns the uppercase equivalent of <[c]> when it is a
-lowercase wide character, otherwise, it returns the input character.
+<<towupper>> returns the upper-case equivalent of <[c]> when it is a
+lower-case wide-character, otherwise, it returns the input character.
PORTABILITY
<<towupper>> is C99.