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


_wcsnicmp

A function for a wide character string comparison ignoring case but specifying the comparison length.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
iint _wcsnicmp(const wchar_t *s1, 
  const wchar_t *s2, size_t n);
Parameters:

Parameters for this function are:

s1  
const wchar_t *  
The string being compared  
s2  
const wchar_t *  
The comparison string  
n  
int  
Maximum comparison length  

Return:

The function _wcsnicmp 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:

"_stricmp"

"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