string(3) — LIBRARY FUNCTIONS
NAME
string: strcasecmp, strncasecmp − string operations
SYNOPSIS
/usr/ucb/cc [ flag. . . ] file . . .
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 characters.
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).
NOTES
strcasecmp and strncasecmp use native character comparison as above and assume the ASCII character set.
— BSD Compatibility Package