www.delorie.com/djgpp/doc/libc/libc_761.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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".

Portability

ANSI/ISO C No
POSIX No

Example

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

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004