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


strncasecmp

Ignore case string comparison function with length specified.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS
Mac OS
Palm OS
Win32

Prototype:
#include <string.h>
int strncasecmp(
  const char *s1,
  const char *s2,
  unsigned n);
Parameters:

Parameters for this function are:

str1  
const char *  
String being compared  
str2  
const char *  
Comparison string  
n  
unsigned int  
Length of comparison  

Return:

Strncasecmp 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:

"strcasecmp"


[ 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