aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/string.h6
-rw-r--r--include/wchar.h10
2 files changed, 8 insertions, 8 deletions
diff --git a/include/string.h b/include/string.h
index fe1b930..4895cad 100644
--- a/include/string.h
+++ b/include/string.h
@@ -719,7 +719,7 @@ void* memdup(const void*, size_t)
/**
* 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,
@@ -731,7 +731,7 @@ int memcmp(const void*, const void*, size_t)
/**
* 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`.
@@ -742,7 +742,7 @@ int strcmp(const char*, const char*)
/**
* 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,
diff --git a/include/wchar.h b/include/wchar.h
index 12b1de9..32decb3 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -642,7 +642,7 @@ wchar_t* wmemdup(const wchar_t*, size_t)
/**
* 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,
@@ -654,7 +654,7 @@ int wmemcmp(const wchar_t*, const wchar_t*, size_t)
/**
* 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`.
@@ -670,7 +670,7 @@ int wcscmp(const wchar_t*, const wchar_t*)
*
* This is a GNU-compliant slibc extension.
*
- * @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`.
@@ -683,7 +683,7 @@ int wcscasecmp(const wchar_t*, const wchar_t*)
*
* This is a GNU-compliant slibc extension.
*
- * @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,
@@ -699,7 +699,7 @@ int wcsncmp(const wchar_t*, const wchar_t*, size_t)
*
* This is a GNU-compliant slibc extension.
*
- * @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,