Manpage of STRCASECMP
STRCASECMP
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
5.13 `strcasecmp'--case insensitive character string compare
SYNOPSIS
#include <string.h>
int strcasecmp(const char *A, const char *B);
DESCRIPTION
`strcasecmp' compares 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), `strcasecmp' returns a number greater than zero. If the
two strings match, `strcasecmp' returns zero. If `*A' sorts
lexicographically before `*B', `strcasecmp' returns a number less than
zero.
PORTABILITY
`strcasecmp' is in the Berkeley Software Distribution.
`strcasecmp' requires no supporting OS subroutines. It uses
tolower() from elsewhere in this library.
SEE ALSO
strcasecmp
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:31 GMT, May 16, 2005
www.fiveanddime.net