From 8825b5f85059d93f5e85a07aa5c092440c166142 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 17:18:03 +0200 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/string.h | 6 +++--- include/wchar.h | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include') 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, -- cgit v1.2.3-70-g09d2