Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE int32_t U_EXPORT2 u_memcmpCodePointOrder ( const UChar *  s1,
const UChar *  s2,
int32_t  count 

Compare two Unicode strings in code point order. This is different in UTF-16 from u_memcmp() if supplementary characters are present. For details, see u_strCompare().

s1 A string to compare.
s2 A string to compare.
count The maximum number of characters to compare.
a negative/zero/positive integer corresponding to whether the first string is less than/equal to/greater than the second one in code point order ICU 2.0

Definition at line 1154 of file ustring.c.

References FALSE, and TRUE.

    return uprv_strCompare(s1, count, s2, count, FALSE, TRUE);

Generated by  Doxygen 1.6.0   Back to index