home *** CD-ROM | disk | FTP | other *** search
- STRICMP(3) Library Functions STRICMP(3)
-
-
-
- NAME
- stricmp - compare two strings with case insensitivity
-
- SYNOPSIS
- #include <edlib.h>
-
- int stricmp(str1,str2)
- char *str1,*str2;
-
- DESCRIPTION
- Stricmp lexographically compares the two null terminated strings.
- It returns a number less than zero if the first differing
- character of str1 is less than that of str2, zero if the two
- strings are equal, and a number greater than zero if the
- first differing character in str1 is greater than the
- corresponding character of str2. Stricmp works like strcmp(3)
- except that all alphabetic characters are treated as lower case
- for the purposes of the comparison.
-
- AUTHOR
- Edwin Hoogerbeets 01/08/88
-
- SEE ALSO
- strcmp(3), strncmp(3), strnicmp(3)
-
-
-
-