STRNCASECMP(3)

NAME
6.28 `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 lowercase), `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.

SEE ALSO
strncasecmp is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.