string(3BSD) (BSD System Compatibility) string(3BSD)
NAME
string: strcasecmp, strncasecmp - (BSD) string operations
SYNOPSIS
/usr/ucb/cc [flag . . . ] file . . .
int strcasecmp(char *s1, char *s2);
int strncasecmp(char *s1, char *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
characters.
These functions operate on null-terminated strings. They do
not check for overflow of any receiving string.
REFERENCES
bstring(3BSD), malloc(3C), string(3C)
NOTICES
strcasecmp and strncasecmp use native character comparison as
above and assume the ASCII character set.
Copyright 1994 Novell, Inc. Page 1