string(3) C LIBRARY FUNCTIONS string(3)
NAME
string: strcasecmp, strncasecmp - string operations
SYNOPSIS
cc [ flag... ] file ... -lucb
int strcasecmp(s1, s2)
char *s1, *s2;
int strncasecmp(s1, s2, n)
char *s1, *s2;
int n;
DESCRIPTION
The strcasecmp and strncasecmp routines compare the strings
and ignore differences in case. These routines assume the
ASCII character set when equating lower and upper case char-
acters.
These functions operate on null-terminated strings. They do
not check for overflow of any receiving string.
SEE ALSO
bstring(3) malloc(3C), string(3C) in the Programmer's Refer-
ence Manual.
NOTES
strcasecmp and strncasecmp use native character comparison
as above and assume the ASCII character set.
Last change: BSD Compatibility Package 1