stricmp - compare strings case independent
#include <mystring.h>
int
stricmp(const char *s1, const char *s2)
int
strnicmp(const char *s1, const char *s2, size_t n)
stricmp() and strnicmp() functions lexicographically compare the nullterminated strings s1 and s2
The strimp() and strnicmp() return an integer greater than, equal to, or less than 0, according as the string s1 is greater than, equal to, or less than the string s2. The comparison is done using unsigned characters, so that `\200' is greater than `\0'.
The strnicmp() compares not more than n characters.
The strcmp() and strncmp() function are part of MCNTP, the diploma thesis Transport of NetNews via IP-multicast of the author.
Heiko W.Rupp (hwr@pilhuhn.de)
None known yet. If you find any, then please report them to <mcntpbugs@pilhuhn.de>
$Id: stricmp.3.html,v 1.5 2001/11/22 10:24:37 pilhuhn Exp $