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


wcscoll

Compare two wide character arrays according to the collating sequence defined for the current locale.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


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

Parameters for this function are:

str1  
wchar_t *  
First comparison string  
str2  
wchar_t *  
Second comparison string  

Remarks:

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

Return:

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

See Also:

"strcoll"

"wcscmp"

"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