From: cpg Date: Tue, 10 Feb 2009 19:16:22 +0000 (+0000) Subject: add strnicmp/strncasecmp X-Git-Tag: V2.13.0rc1~330 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2961c500f5eff2b6611aab4da55013e269345242;p=cc65 add strnicmp/strncasecmp git-svn-id: svn://svn.cc65.org/cc65/trunk@3925 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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);