summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/strncasecmp.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-23 18:11:22 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-23 18:11:22 +0000
commit5921804481c346f032a24c19fc294cc5690e0f3b (patch)
tree3e71f94ad0832136ea7da2bfd4d0ad3c1ec1398c /newlib/libc/string/strncasecmp.c
parentbbb9d4fde31f44a70a6fb42181dc86cb91791d7e (diff)
downloadcygnal-5921804481c346f032a24c19fc294cc5690e0f3b.tar.gz
cygnal-5921804481c346f032a24c19fc294cc5690e0f3b.tar.bz2
cygnal-5921804481c346f032a24c19fc294cc5690e0f3b.zip
2009-04-23 Mike Burgess <wizardsguild@earthlink.net>
* libc/string/strcasecmp.c: Optimized rewrite. * libc/string/strncasecmp.c: Fix description. * libc/string/strlwr.c: Avoid passing signed char to tolower. * libc/string/strupr.c: Avoid passing signed char to tolower.
Diffstat (limited to 'newlib/libc/string/strncasecmp.c')
-rw-r--r--newlib/libc/string/strncasecmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c
index c2eb5b86c..6909018a8 100644
--- a/newlib/libc/string/strncasecmp.c
+++ b/newlib/libc/string/strncasecmp.c
@@ -24,7 +24,7 @@ DESCRIPTION
RETURNS
If <<*<[a]>>> sorts lexicographically after <<*<[b]>>> (after
- both are converted to uppercase), <<strncasecmp>> returns a
+ both are converted to lowercase), <<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