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 >
Text File  |  1989-06-04  |  901b  |  34 lines

  1. STRNICMP(3)                Library Functions               STRNICMP(3)
  2.  
  3.  
  4.  
  5. NAME
  6.      strnicmp - compare two strings with case insensitivity up to
  7.      a certain length
  8.  
  9. SYNOPSIS
  10.      #include <edlib.h>
  11.  
  12.      int strnicmp(str1,str2,len)
  13.      char *str1,*str2;
  14.      int len;
  15.  
  16. DESCRIPTION
  17.      Strnicmp lexographically compares the two null terminated
  18.      strings up to the length 'len'. It returns a number less than
  19.      zero if the first differing character of str1 is less than that
  20.      of str2, zero if the two strings are equal, and a number greater
  21.      than zero if the first differing character in str1 is greater
  22.      than the corresponding character of str2. Strnicmp works like
  23.      strncmp(3) except that all alphabetic characters are treated as
  24.      lower case for the purposes of the comparison.
  25.  
  26. AUTHOR
  27.      Edwin Hoogerbeets 01/08/88
  28.  
  29. SEE ALSO
  30.      strcmp(3), strncmp(3), stricmp(3)
  31.  
  32.  
  33.  
  34.