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

U_STABLE int32_t U_EXPORT2 u_strncmpCodePointOrder ( const UChar *  s1,
const UChar *  s2,
int32_t  n 

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

s1 A string to compare.
s2 A string to compare.
n 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 958 of file ustring.c.

References TRUE.

    return uprv_strCompare(s1, n, s2, n, TRUE, TRUE);

Generated by  Doxygen 1.6.0   Back to index