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


wcscmp

Compare two wide character arrays.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
int  cscmp(const wchar_t * str1, 
  const wchar_t * str2);
Parameters:

Parameters for this function are:

str1t  
wchar_t *  
Comparison string  
str2  
wchar_t *  
Comparison string  

Remarks:

Performs the same task as strcmp for a wide character type.

Return:

Returns a zero if str1 and str2 are equal, a negative value if str1 is less than str2, and a positive value if str1 is greater than str2.

See Also:

"strcmp"

"wmemcmp"


[ 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