[kvm-unit-tests PATCH 21/24] lib: Add strcasecmp and strncasecmp

Thomas Huth thuth at redhat.com
Wed Jan 24 01:41:05 PST 2024


On 24/01/2024 08.18, Andrew Jones wrote:
> We'll soon want a case insensitive string comparison. Add toupper()
> and tolower() too (the latter gets used by the new string functions).
> 
> Signed-off-by: Andrew Jones <andrew.jones at linux.dev>
> ---
>   lib/ctype.h  | 10 ++++++++++
>   lib/string.c | 14 ++++++++++++++
>   lib/string.h |  2 ++
>   3 files changed, 26 insertions(+)

Reviewed-by: Thomas Huth <thuth at redhat.com>





More information about the kvm-riscv mailing list