www.delorie.com/djgpp/doc/libc-2.01/libc_609.html   search  
Go to the first, previous, next, last section, table of contents.


stricmp

Syntax

#include <string.h>

int stricmp(const char *s1, const char *s2);

Description

This function compares the two strings, disregarding case.

Return Value

Zero if they're the same, nonzero if different, the sign indicates "order".

Example

if (stricmp(arg, "-i") == 0)
  do_include();


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997