VMS Help
CRTL, strcasecmp
*Conan The Librarian
|
Does a case-insensitive comparison of two 7-bit ASCII strings.
Format
#include <strings.h>
int strcasecmp (const char *s1, const char *s2);
s1
The first of two strings to compare.
s2
The second of two strings to compare.
The strcasecmp function is case-insensitive. The returned
lexicographic difference reflects a conversion to lowercase.
The strcasecmp function works for 7-bit ASCII compares only. Do
not use this function for internationalized applications.
n An integer value greater than, equal to, or
less than 0 (zero), depending on whether the
s1 string is greater than, equal to, or less
than the s2 string.