The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback

PUBLIC int XP_StrColl ( const char *s1, const char *s2 )

Collate strings according to global locale

Documentation

Collate strings according to global locale. Compares two strings in the global locale. Returns a number less than 0 if the second string is greater, 0 if they are the same, and greater than 0 if the first string is greater, according to the sorting rules appropriate for the current locale. This routine currently does not handle multiple charsets. The locale is controlled by the platform through a control panel or the LC_TIME environment variable.
Returns:
0 if s1 is equal to s2, less than 0 if s2 is greater, greater than 0 if s1 is greater
Parameters:
s1 - Specifies string 1, in the global locale's charset
s2 - Specifies string 2, in the global locale's charset

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++


Copyright © 1998-1999 The Mozilla Organization.