home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff218.lzh
/
EdLib
/
man
/
StrNICmp
< prev
next >
Wrap
Text File
|
1989-06-04
|
901b
|
34 lines
STRNICMP(3) Library Functions STRNICMP(3)
NAME
strnicmp - compare two strings with case insensitivity up to
a certain length
SYNOPSIS
#include <edlib.h>
int strnicmp(str1,str2,len)
char *str1,*str2;
int len;
DESCRIPTION
Strnicmp lexographically compares the two null terminated
strings up to the length 'len'. 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. Strnicmp works like
strncmp(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), stricmp(3)