home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / compat / string / strcasec.txh < prev    next >
Encoding:
Text File  |  1995-07-23  |  443 b   |  26 lines

  1. @node strcasecmp, string
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <string.h>
  6.  
  7. int strcasecmp(const char *s1, const char *s2);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This function compares the two strings, disregarding case.
  13.  
  14. @subheading Return Value
  15.  
  16. Zero if they're the same, nonzero if different, the sign indicates
  17. "order". 
  18.  
  19. @subheading Example
  20.  
  21. @example
  22. if (strcasecmp(arg, "-i") == 0)
  23.   do_include();
  24. @end example
  25.  
  26.