[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_stricmp

A function for string comparison ignoring case.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
int _stricmp(
  const char *s1,
  const char *s2);
Parameters:

Parameters for this function are:

s1  
const char *  
The string being compared  
s2  
const char *  
The comparison string  

Return:

Stricmp returns greater than zero if str1 is larger than str2 and less than zero if str2 is larger than str 1. If they are equal returns zero.

See Also:

"strcmp"

"strncmp"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000