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:
authorJeff Johnston <jjohnstn@redhat.com>2005-10-29 01:33:23 +0400
committerJeff Johnston <jjohnstn@redhat.com>2005-10-29 01:33:23 +0400
commita306ebc97e6dba4f79755f1f777121ce3daf604e (patch)
tree66e568e1aff0dfa8548ed4266425c41f36972668 /newlib/libc/string
parent239c2bf93e32e147dab3e6cde99078d1ad5a1ef5 (diff)
2005-10-28 Bob Wilson <bob.wilson@acm.org>
* libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise. * libc/ctype/islower.c: Likewise. * libc/ctype/isupper.c: Likewise. * libc/ctype/iswalnum.c: Likewise. * libc/ctype/iswalpha.c: Likewise. * libc/ctype/iswblank.c: Likewise. * libc/ctype/iswcntrl.c: Likewise. * libc/ctype/iswdigit.c: Likewise. * libc/ctype/iswgraph.c: Likewise. * libc/ctype/iswlower.c: Likewise. * libc/ctype/iswprint.c: Likewise. * libc/ctype/iswpunct.c: Likewise. * libc/ctype/iswspace.c: Likewise. * libc/ctype/iswupper.c: Likewise. * libc/ctype/iswxdigit.c: Likewise. * libc/ctype/tolower.c: Likewise. * libc/ctype/toupper.c: Likewise. * libc/ctype/towctrans.c: Likewise. * libc/ctype/towlower.c: Likewise. * libc/ctype/towupper.c: Likewise. * libc/string/strcasecmp.c: Likewise. * libc/string/strcoll.c: Likewise. * libc/string/strings.tex: Likewise. * libc/string/strlwr.c: Likewise. * libc/string/strncasecmp.c: Likewise. * libc/string/strupr.c: Likewise. * libc/string/wcscoll.c: Likewise. * libc/string/wcslcat.c: Likewise. * libc/string/wcslcpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcsstr.c: Likewise. * libc/string/wcstrings.tex: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemmove.c: Likewise. * libc/string/wmemset.c: Likewise.
Diffstat (limited to 'newlib/libc/string')
-rw-r--r--newlib/libc/string/strcasecmp.c4
-rw-r--r--newlib/libc/string/strcoll.c2
-rw-r--r--newlib/libc/string/strings.tex4
-rw-r--r--newlib/libc/string/strlwr.c6
-rw-r--r--newlib/libc/string/strncasecmp.c4
-rw-r--r--newlib/libc/string/strupr.c4
-rw-r--r--newlib/libc/string/wcscoll.c2
-rw-r--r--newlib/libc/string/wcslcat.c12
-rw-r--r--newlib/libc/string/wcslcpy.c8
-rw-r--r--newlib/libc/string/wcsnlen.c6
-rw-r--r--newlib/libc/string/wcsstr.c2
-rw-r--r--newlib/libc/string/wcstrings.tex16
-rw-r--r--newlib/libc/string/wmemchr.c8
-rw-r--r--newlib/libc/string/wmemcmp.c8
-rw-r--r--newlib/libc/string/wmemcpy.c8
-rw-r--r--newlib/libc/string/wmemmove.c12
-rw-r--r--newlib/libc/string/wmemset.c10
17 files changed, 58 insertions, 58 deletions
diff --git a/newlib/libc/string/strcasecmp.c b/newlib/libc/string/strcasecmp.c
index 4dcfc784a..f96f7f5c9 100644
--- a/newlib/libc/string/strcasecmp.c
+++ b/newlib/libc/string/strcasecmp.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<strcasecmp>>---case insensitive character string compare
+ <<strcasecmp>>---case-insensitive character string compare
INDEX
strcasecmp
@@ -22,7 +22,7 @@ DESCRIPTION
RETURNS
If <<*<[a]>>> sorts lexicographically after <<*<[b]>>> (after
- both are converted to upper case), <<strcasecmp>> returns a
+ both are converted to uppercase), <<strcasecmp>> returns a
number greater than zero. If the two strings match,
<<strcasecmp>> returns zero. If <<*<[a]>>> sorts
lexicographically before <<*<[b]>>>, <<strcasecmp>> returns a
diff --git a/newlib/libc/string/strcoll.c b/newlib/libc/string/strcoll.c
index 8760b2217..65dc38037 100644
--- a/newlib/libc/string/strcoll.c
+++ b/newlib/libc/string/strcoll.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<strcoll>>---locale specific character string compare
+ <<strcoll>>---locale-specific character string compare
INDEX
strcoll
diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex
index 4e1a2cd16..3ca732f79 100644
--- a/newlib/libc/string/strings.tex
+++ b/newlib/libc/string/strings.tex
@@ -22,13 +22,13 @@ managing areas of memory. The corresponding declarations are in
* strcat:: Concatenate strings
* strchr:: Search for character in string
* strcmp:: Character string compare
-* strcoll:: Locale specific character string compare
+* strcoll:: Locale-specific character string compare
* strcpy:: Copy string
* strcspn:: Count chars not in string
* strerror:: Convert error number to string
* strerror_r:: Convert error number to string
* strlen:: Character string length
-* strlwr:: Convert string to lower case
+* strlwr:: Convert string to lowercase
* strncasecmp:: Compare strings ignoring case
* strncat:: Concatenate strings
* strncmp:: Character string compare
diff --git a/newlib/libc/string/strlwr.c b/newlib/libc/string/strlwr.c
index cf0d45f71..47096d430 100644
--- a/newlib/libc/string/strlwr.c
+++ b/newlib/libc/string/strlwr.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<strlwr>>---force string to lower case
+ <<strlwr>>---force string to lowercase
INDEX
strlwr
@@ -15,8 +15,8 @@ TRAD_SYNOPSIS
char *<[a]>;
DESCRIPTION
- <<strlwr>> converts each characters in the string at <[a]> to
- lower case.
+ <<strlwr>> converts each character in the string at <[a]> to
+ lowercase.
RETURNS
<<strlwr>> returns its argument, <[a]>.
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c
index 28c6cc44f..c877ba53c 100644
--- a/newlib/libc/string/strncasecmp.c
+++ b/newlib/libc/string/strncasecmp.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<strncasecmp>>---case insensitive character string compare
+ <<strncasecmp>>---case-insensitive character string compare
INDEX
strncasecmp
@@ -24,7 +24,7 @@ DESCRIPTION
RETURNS
If <<*<[a]>>> sorts lexicographically after <<*<[b]>>> (after
- both are converted to upper case), <<strncasecmp>> returns a
+ both are converted to uppercase), <<strncasecmp>> returns a
number greater than zero. If the two strings are equivalent,
<<strncasecmp>> returns zero. If <<*<[a]>>> sorts
lexicographically before <<*<[b]>>>, <<strncasecmp>> returns a
diff --git a/newlib/libc/string/strupr.c b/newlib/libc/string/strupr.c
index d7f7c129d..3f346b840 100644
--- a/newlib/libc/string/strupr.c
+++ b/newlib/libc/string/strupr.c
@@ -15,8 +15,8 @@ TRAD_SYNOPSIS
char *<[a]>;
DESCRIPTION
- <<strupr>> converts each characters in the string at <[a]> to
- upper case.
+ <<strupr>> converts each character in the string at <[a]> to
+ uppercase.
RETURNS
<<strupr>> returns its argument, <[a]>.
diff --git a/newlib/libc/string/wcscoll.c b/newlib/libc/string/wcscoll.c
index 9287af38c..0f0513a58 100644
--- a/newlib/libc/string/wcscoll.c
+++ b/newlib/libc/string/wcscoll.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<wcscoll>>---locale specific wide-character string compare
+ <<wcscoll>>---locale-specific wide-character string compare
INDEX
wcscoll
diff --git a/newlib/libc/string/wcslcat.c b/newlib/libc/string/wcslcat.c
index adf683ad5..75c085b5b 100644
--- a/newlib/libc/string/wcslcat.c
+++ b/newlib/libc/string/wcslcat.c
@@ -14,12 +14,12 @@ TRAD_SYNOPSIS
size_t <[siz]>;
DESCRIPTION
- The <<wcslcat>> function appends wide-characters from <[src]> to
+ The <<wcslcat>> function appends wide characters from <[src]> to
end of the <[dst]> wide-character string so that the resultant
- wide-character string is not more than <[siz]> wide-characters
- including terminating null wide-character code. A terminating
- null wide-character is always added unless <[siz]> is 0. Thus,
- the maximum number of wide-characters that can be appended from
+ wide-character string is not more than <[siz]> wide characters
+ including the terminating null wide-character code. A terminating
+ null wide character is always added unless <[siz]> is 0. Thus,
+ the maximum number of wide characters that can be appended from
<[src]> is <[siz]> - 1. If copying takes place between objects
that overlap, the behaviour is undefined.
@@ -28,7 +28,7 @@ RETURNS
wide-character string length of <[src]> (does not include
terminating null wide-characters). If the return value is
greater than or equal to <[siz]>, then truncation occurred and
- not all wide-characters from <[src]> were appended.
+ not all wide characters from <[src]> were appended.
PORTABILITY
No supporting OS subroutines are required.
diff --git a/newlib/libc/string/wcslcpy.c b/newlib/libc/string/wcslcpy.c
index ac7d01863..21c030b38 100644
--- a/newlib/libc/string/wcslcpy.c
+++ b/newlib/libc/string/wcslcpy.c
@@ -14,16 +14,16 @@ TRAD_SYNOPSIS
size_t <[siz]>;
DESCRIPTION
- <<wcslcpy>> copies wide-characters from <[src]> to <[dst]>
+ <<wcslcpy>> copies wide characters from <[src]> to <[dst]>
such that up to <[siz]> - 1 characters are copied. A
terminating null is appended to the result, unless <[siz]>
is zero.
RETURNS
- <<wcslcpy>> returns the number of wide-characters in <[src]>,
- not including the terminating null wide-character. If the
+ <<wcslcpy>> returns the number of wide characters in <[src]>,
+ not including the terminating null wide character. If the
return value is greater than or equal to <[siz]>, then
- not all wide-characters were copied from <[src]> and truncation
+ not all wide characters were copied from <[src]> and truncation
occurred.
PORTABILITY
diff --git a/newlib/libc/string/wcsnlen.c b/newlib/libc/string/wcsnlen.c
index 3804bdf90..9d680d603 100644
--- a/newlib/libc/string/wcsnlen.c
+++ b/newlib/libc/string/wcsnlen.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<wcsnlen>>---get fixed-size wide character string length
+ <<wcsnlen>>---get fixed-size wide-character string length
INDEX
wcsnlen
@@ -16,8 +16,8 @@ TRAD_SYNOPSIS
size_t <[maxlen]>;
DESCRIPTION
- The <<wcsnlen>> function computes the number of wide character codes
- in the wide character string pointed to by <[s]> not including the
+ The <<wcsnlen>> function computes the number of wide-character codes
+ in the wide-character string pointed to by <[s]> not including the
terminating L'\0' wide character but at most <[maxlen]> wide
characters.
diff --git a/newlib/libc/string/wcsstr.c b/newlib/libc/string/wcsstr.c
index 30fc4631f..0b00396ea 100644
--- a/newlib/libc/string/wcsstr.c
+++ b/newlib/libc/string/wcsstr.c
@@ -14,7 +14,7 @@ TRAD_SYNOPSIS
DESCRIPTION
The <<wcsstr>> function locates the first occurrence in the
wide-character string pointed to by <[big]> of the sequence of
- wide-characters (excluding the terminating null wide-character) in the
+ wide characters (excluding the terminating null wide character) in the
wide-character string pointed to by <[little]>.
RETURNS
diff --git a/newlib/libc/string/wcstrings.tex b/newlib/libc/string/wcstrings.tex
index ad0a60788..df6edc47c 100644
--- a/newlib/libc/string/wcstrings.tex
+++ b/newlib/libc/string/wcstrings.tex
@@ -2,21 +2,21 @@
@chapter Wide Character Strings (@file{wchar.h})
This chapter describes wide-character string-handling functions and
-managing areas of memory containing wide-characters. The corresponding
+managing areas of memory containing wide characters. The corresponding
declarations are in @file{wchar.h}.
@menu
-* wmemchr:: Find wide-character in memory
+* wmemchr:: Find wide character in memory
* wmemcmp:: Compare two wide-character memory areas
* wmemcpy:: Copy wide-character memory regions
* wmemmove:: Move possibly overlapping wide-character memory
-* wmemset:: Set an area of memory to a specified wide-character
+* wmemset:: Set an area of memory to a specified wide character
* wcscat:: Concatenate wide-character strings
-* wcschr:: Search for wide-character in string
+* wcschr:: Search for wide character in string
* wcscmp:: Wide-character string compare
-* wcscoll:: Locale specific Wide-character string compare
+* wcscoll:: Locale-specific wide-character string compare
* wcscpy:: Copy wide-character string
-* wcscspn:: Count wide-chars not in string
+* wcscspn:: Count wide characters not in string
* wcslcat:: Concatenate wide-character strings to specified length
* wcslcpy:: Copy wide-character string to specified length
* wcslen:: Wide-character string length
@@ -24,8 +24,8 @@ declarations are in @file{wchar.h}.
* wcsncmp:: Wide-character string compare
* wcsncpy:: Counted copy wide-character string
* wcsnlen:: Wide-character string length with maximum limit
-* wcspbrk:: Find wide-chars in string
-* wcsrchr:: Reverse search for wide-character in string
+* wcspbrk:: Find wide characters in string
+* wcsrchr:: Reverse search for wide character in string
* wcsspn:: Find initial match in wide-character string
* wcsstr:: Find wide-character string segment
* wcswidth:: Number of column positions of a wide-character string
diff --git a/newlib/libc/string/wmemchr.c b/newlib/libc/string/wmemchr.c
index ca1427be0..b582b8948 100644
--- a/newlib/libc/string/wmemchr.c
+++ b/newlib/libc/string/wmemchr.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<wmemchr>>---find a wide-character in memory
+ <<wmemchr>>---find a wide character in memory
ANSI_SYNOPSIS
@@ -15,9 +15,9 @@ TRAD_SYNOPSIS
DESCRIPTION
The <<wmemchr>> function locates the first occurrence of <[c]> in the
- initial <[n]> wide-characters of the object pointed to be <[s]>. This
+ initial <[n]> wide characters of the object pointed to be <[s]>. This
function is not affected by locale and all wchar_t values are treated
- identically. The null wide-character and wchar_t values not
+ identically. The null wide character and wchar_t values not
corresponding to valid characters are not treated specially.
If <[n]> is zero, <[s]> must be a valid pointer and the function
@@ -25,7 +25,7 @@ DESCRIPTION
RETURNS
The <<wmemchr>> function returns a pointer to the located
- wide-character, or a null pointer if the wide-character does not occur
+ wide character, or a null pointer if the wide character does not occur
in the object.
PORTABILITY
diff --git a/newlib/libc/string/wmemcmp.c b/newlib/libc/string/wmemcmp.c
index 96c2b765c..af9ee3207 100644
--- a/newlib/libc/string/wmemcmp.c
+++ b/newlib/libc/string/wmemcmp.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<wmemcmp>>---compare wide-characters in memory
+ <<wmemcmp>>---compare wide characters in memory
ANSI_SYNOPSIS
#include <wchar.h>
@@ -13,10 +13,10 @@ TRAD_SYNOPSIS
size_t <[n]>;
DESCRIPTION
- The <<wmemcmp>> function compares the first <[n]> wide-characters of the
- object pointed to by <[s1]> to the first <[n]> wide-characters of the
+ The <<wmemcmp>> function compares the first <[n]> wide characters of the
+ object pointed to by <[s1]> to the first <[n]> wide characters of the
object pointed to by <[s2]>. This function is not affected by locale
- and all wchar_t values are treated identically. The null wide-character
+ and all wchar_t values are treated identically. The null wide character
and wchar_t values not corresponding to valid characters are not treated
specially.
diff --git a/newlib/libc/string/wmemcpy.c b/newlib/libc/string/wmemcpy.c
index 24de8856b..748e8e196 100644
--- a/newlib/libc/string/wmemcpy.c
+++ b/newlib/libc/string/wmemcpy.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<wmemcpy>>---copy wide-characters in memory
+ <<wmemcpy>>---copy wide characters in memory
ANSI_SYNOPSIS
#include <wchar.h>
@@ -13,14 +13,14 @@ TRAD_SYNOPSIS
size_t <[n]>;
DESCRIPTION
- The <<wmemcpy>> function copies <[n]> wide-characters from the object
+ The <<wmemcpy>> function copies <[n]> wide characters from the object
pointed to by <[s]> to the object pointed to be <[d]>. This function
is not affected by locale and all wchar_t values are treated
- identically. The null wide-character and wchar_t values not
+ identically. The null wide character and wchar_t values not
corresponding to valid characters are not treated specially.
If <[n]> is zero, <[d]> and <[s]> must be a valid pointers, and the
- function copies zero wide-characters.
+ function copies zero wide characters.
RETURNS
The <<wmemcpy>> function returns the value of <[d]>.
diff --git a/newlib/libc/string/wmemmove.c b/newlib/libc/string/wmemmove.c
index 6986fde22..e20a26ae9 100644
--- a/newlib/libc/string/wmemmove.c
+++ b/newlib/libc/string/wmemmove.c
@@ -13,20 +13,20 @@ TRAD_SYNOPSIS
size_t <[n]>;
DESCRIPTION
- The <<wmemmove>> function copies <[n]> wide-characters from the object
+ The <<wmemmove>> function copies <[n]> wide characters from the object
pointed to by <[s]> to the object pointed to by <[d]>. Copying takes
- place as if the <[n]> wide-characters from the object pointed to by
- <[s]> are first copied into a temporary array of <[n]> wide-characters
+ place as if the <[n]> wide characters from the object pointed to by
+ <[s]> are first copied into a temporary array of <[n]> wide characters
that does not overlap the objects pointed to by <[d]> or <[s]>, and then
- the <[n]> wide-characters from the temporary array are copied into the
+ the <[n]> wide characters from the temporary array are copied into the
object pointed to by <[d]>.
This function is not affected by locale and all wchar_t values are
- treated identically. The null wide-character and wchar_t values not
+ treated identically. The null wide character and wchar_t values not
corresponding to valid characters are not treated specially.
If <[n]> is zero, <[d]> and <[s]> must be a valid pointers, and the
- function copies zero wide-characters.
+ function copies zero wide characters.
RETURNS
The <<wmemmove>> function returns the value of <[d]>.
diff --git a/newlib/libc/string/wmemset.c b/newlib/libc/string/wmemset.c
index b426f5682..0af6f91d5 100644
--- a/newlib/libc/string/wmemset.c
+++ b/newlib/libc/string/wmemset.c
@@ -1,6 +1,6 @@
/*
FUNCTION
- <<wmemset>>---set wide-characters in memory
+ <<wmemset>>---set wide characters in memory
ANSI_SYNOPSIS
#include <wchar.h>
@@ -14,16 +14,16 @@ TRAD_SYNOPSIS
DESCRIPTION
The <<wmemset>> function copies the value of <[c]> into each of the
- first <[n]> wide-characters of the object pointed to by <[s]>. This
+ first <[n]> wide characters of the object pointed to by <[s]>. This
function is not affected by locale and all wchar_t values are treated
- identically. The null wide-character and wchar_t values not
+ identically. The null wide character and wchar_t values not
corresponding to valid characters are not treated specially.
If <[n]> is zero, <[s]> must be a valid pointer and the function
- copies zero wide-characters.
+ copies zero wide characters.
RETURNS
- The <<wmemset>> functions returns the value of <[s]>.
+ The <<wmemset>> function returns the value of <[s]>.
PORTABILITY
<<wmemset>> is ISO/IEC 9899/AMD1:1995 (ISO C).