@node strncasecmp, string @subheading Syntax @example #include int strncasecmp(const char *s1, const char *s2, size_t max); @end example @subheading Description This function compares @var{s1} and @var{s2}, ignoring case, up to a maximum of @var{max} characters. @subheading Return Value Zero if the strings are equal, a positive number if @var{s1} comes after @var{s2} in the ASCII collating sequense, else a negative number. @subheading Portability @portability !ansi, !posix @subheading Example @example if (strncasecmp(foo, "-i", 2) == 0) do_include(); @end example