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

  1. @node stricmp, string
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <string.h>
  6.  
  7. int stricmp(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 (stricmp(arg, "-i") == 0)
  23.   do_include();
  24. @end example
  25.  
  26. @c ---------------------------------------------------------------------
  27. @node strcase, string
  28. @subheading Syntax
  29.  
  30. @example
  31. #include <string.h>
  32.  
  33. int strcase(const char *s1, const char *s2);
  34. @end example
  35.  
  36. @subheading Description
  37.  
  38. This function compares the two strings, disregarding case.
  39.  
  40. @subheading Return Value
  41.  
  42. Zero if they're the same, nonzero if different, the sign indicates
  43. "order". 
  44.  
  45. @subheading Example
  46.  
  47. @example
  48. if (strcase(arg, "-i") == 0)
  49.   do_include();
  50. @end example
  51.  
  52.