From 2961c500f5eff2b6611aab4da55013e269345242 Mon Sep 17 00:00:00 2001 From: cpg Date: Tue, 10 Feb 2009 19:16:22 +0000 Subject: [PATCH] add strnicmp/strncasecmp git-svn-id: svn://svn.cc65.org/cc65/trunk@3925 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/string.h b/include/string.h index 5cb26bfa1..7eb69959c 100644 --- a/include/string.h +++ b/include/string.h @@ -75,6 +75,8 @@ void __fastcall__ bzero (void* ptr, size_t n); /* BSD */ char* __fastcall__ strdup (const char* s); /* SYSV/BSD */ int __fastcall__ stricmp (const char* s1, const char* s2); /* DOS/Windows */ int __fastcall__ strcasecmp (const char* s1, const char* s2); /* Same for Unix */ +int __fastcall__ strnicmp (const char* s1, const char* s2, size_t count); /* DOS/Windows */ +int __fastcall__ strncasecmp (const char* s1, const char* s2, size_t count); /* Same for Unix */ char* __fastcall__ strlwr (char* s); char* __fastcall__ strlower (char* s); char* __fastcall__ strupr (char* s); -- 2.39.5