aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strcmp.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 17:18:03 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 17:18:03 +0200
commit8825b5f85059d93f5e85a07aa5c092440c166142 (patch)
tree6381d75cdfa871bf81fc2dd5087c3bc49f071766 /src/string/strcmp.c
parentautomate some parts of intconf (diff)
downloadslibc-8825b5f85059d93f5e85a07aa5c092440c166142.tar.gz
slibc-8825b5f85059d93f5e85a07aa5c092440c166142.tar.bz2
slibc-8825b5f85059d93f5e85a07aa5c092440c166142.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/string/strcmp.c')
-rw-r--r--src/string/strcmp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/string/strcmp.c b/src/string/strcmp.c
index 56b4d1b..066b7c1 100644
--- a/src/string/strcmp.c
+++ b/src/string/strcmp.c
@@ -25,7 +25,7 @@
/**
* Compare two memory segments alphabetically in a case sensitive manner.
*
- * @param a A negetive value is returned if this is the lesser.
+ * @param a A negative value is returned if this is the lesser.
* @param b A positive value is returned if this is the lesser.
* @param size The size of the segments.
* @return Zero is returned if `a` and `b` are equal, otherwise,
@@ -47,7 +47,7 @@ int memcmp(const void* a, const void* b, size_t size)
/**
* Compare two strings alphabetically in a case sensitive manner.
*
- * @param a A negetive value is returned if this is the lesser.
+ * @param a A negative value is returned if this is the lesser.
* @param b A positive value is returned if this is the lesser.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
@@ -65,7 +65,7 @@ int strcmp(const char* a, const char* b)
* Be aware, only ASCII characters are case insensitive, non-ASCII
* characters are case sensitive.
*
- * @param a A negetive value is returned if this is the lesser.
+ * @param a A negative value is returned if this is the lesser.
* @param b A positive value is returned if this is the lesser.
* @return Zero is returned if `a` and `b` are equal, otherwise,
* see the specifications for `a` and `b`.
@@ -79,7 +79,7 @@ int strcasecmp(const char* a, const char* b)
/**
* Compare two strings alphabetically in a case sensitive manner.
*
- * @param a A negetive value is returned if this is the lesser.
+ * @param a A negative value is returned if this is the lesser.
* @param b A positive value is returned if this is the lesser.
* @param length The maximum number of characters to compare.
* @return Zero is returned if `a` and `b` are equal, otherwise,
@@ -99,7 +99,7 @@ int strncmp(const char* a, const char* b, size_t length)
* Be aware, only ASCII characters are case insensitive, non-ASCII
* characters are case sensitive.
*
- * @param a A negetive value is returned if this is the lesser.
+ * @param a A negative value is returned if this is the lesser.
* @param b A positive value is returned if this is the lesser.
* @param length The maximum number of characters to compare.
* @return Zero is returned if `a` and `b` are equal, otherwise,