Manpage of STRNCASECMP
STRNCASECMP
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
5.24 `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.
SEE ALSO
strncasecmp
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:32 GMT, May 16, 2005
www.fiveanddime.net