The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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-2000 The Mozilla Organization.
Last modified April 17, 1998.