aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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,