diff options
Diffstat (limited to '')
-rw-r--r-- | include/string.h | 6 | ||||
-rw-r--r-- | include/wchar.h | 10 | ||||
-rw-r--r-- | src/string/strcmp.c | 10 | ||||
-rw-r--r-- | src/wchar/wcscmp.c | 10 |
4 files changed, 18 insertions, 18 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, 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, diff --git a/src/wchar/wcscmp.c b/src/wchar/wcscmp.c index 7539458..aa3cdf3 100644 --- a/src/wchar/wcscmp.c +++ b/src/wchar/wcscmp.c @@ -24,7 +24,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, @@ -44,7 +44,7 @@ int wmemcmp(const wchar_t* a, const wchar_t* 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`. @@ -64,7 +64,7 @@ int wcscmp(const wchar_t* a, const wchar_t* b) * * 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`. @@ -80,7 +80,7 @@ int wcscasecmp(const wchar_t* a, const wchar_t* b) * * 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, @@ -102,7 +102,7 @@ int wcsncmp(const wchar_t* a, const wchar_t* b, size_t length) * * 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, |