libc.info: strncasecmp

Go forward to strncat
Go backward to strlwr
Go up to Strings
Go to the top op libc

`strncasecmp'--case insensitive character string compare

*Synopsis*
     #include <string.h>
     int strncasecmp(const char *A, const char * B, size_t LENGTH);
   *Description*
`strncasecmp' compares up to LENGTH characters from the string at A to
the string at B in a case-insensitive manner.
*Returns*
If `*A' sorts lexicographically after `*B' (after both are converted to
upper case), `strncasecmp' returns a number greater than zero.  If the
two strings are equivalent, `strncasecmp' returns zero.  If `*A' sorts
lexicographically before `*B', `strncasecmp' returns a number less than
zero.
*Portability*
`strncasecmp' is in the Berkeley Software Distribution.
   `strncasecmp' requires no supporting OS subroutines. It uses
tolower() from elsewhere in this library.