libthai 0.1.29
|
Thai wide-char string collation. More...
Functions | |
int | th_wcstrcoll (const thwchar_t *s1, const thwchar_t *s2) |
Compare two Thai wide-char strings for collation. | |
size_t | th_wcstrxfrm (thwchar_t dest[], const thwchar_t *src, size_t n) |
Transform wide-char string into collatable form. | |
Thai wide-char string collation.
Compare two Thai wide-char strings for collation.
s1 | : first wide-char string (null-terminated) |
s2 | : second wide-char string (null-terminated) |
Transform wide-char string into collatable form.
dest | : the destination wide-char string buffer |
src | : the wide-char string to transform |
n | : the size of dest buffer (as number of elements) |
Transforms src into a form from which comparison using wcscmp() yields the same result as that from th_wcstrcoll(). At most n characters are put in dest.