Rechercher une page de manuel
thwcoll.h
Langue: en
Version: 154258 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
thai/thwcoll.h - Thai wide-char string collation.SYNOPSIS
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.
Detailed Description
Thai wide-char string collation.
Function Documentation
int th_wcstrcoll (const thwchar_t * s1, const thwchar_t * s2)
Compare two Thai wide-char strings for collation.
Parameters:
- s1 : first wide-char string (null-terminated)
s2 : second wide-char string (null-terminated)
Returns:
- < 0 if s1 precedes s2; 0 if s1 equals s2; > 0 if s1 succeeds s2
size_t th_wcstrxfrm (thwchar_t dest[], const thwchar_t * src, size_t n)
Transform wide-char string into collatable form.
Parameters:
- dest : the destination wide-char string buffer
src : the wide-char string to transform
n : the size of dest buffer (as number of elements)
Returns:
- the number of elements required to store the result in dest, excluding the terminating '\0'. If the return value >= n, dest is undefined.
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.
Author
Generated automatically by Doxygen for libthai from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre