NWUnicodeCompare(3nw)


NWUnicodeCompare -- compares two Unicode characters after applying unicode-to-collation rule table conversion

Synopsis

   #include <unicode.h> 
   

int N_API NWUnicodeCompare (void N_FAR * ruleHandle, unicode chr1, unicode chr2);

Description

The parameters are as follows:

ruleHandle
(IN) Points to the rule table handle for unicode-to-collation conversion.

chr1
(IN) Specifies the 1st character.

chr2
(IN) Specifies the 2nd character.

Return values

<0
chr1 < chr2

=0
chr1 = chr2

>0
chr1 > chr2

Services

Unicode

NCP calls

None

References

NWGetCollationHandle(3nw), NWUnicodeToCollation(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.