Rechercher une page de manuel
RkCvtKana
Langue: en
Version: 161662 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
RkCvtKana - convert double-width hiragana to double-width katakanaSYNOPSIS
#include <canna/RK.h> int RkCvtKana(dst, maxdst, src, srclen) unsigned char *dst; int maxdst; unsigned char *src; int srclen;
DESCRIPTION
RkCvtKana converts the srclen bytes of double-width hiragana data to double-width katakana, starting at the area src. A null character in src is not interpreted as the end of the string. The conversion result is stored in the area dst. Characters that are not subject to conversion are copied as they area. The conversion result is truncated to adjust to character boundaries in the EUC code when its byte length exceeds maxdst -1. dst is padded with null characters at the end if possible. EUC code is used to represent both src and dst.NULL can be specified in dst. NULL overrides the entire conversion result.
RETURN VALUE
This function returns the byte length of the conversion result, or returns 0 if the value of maxdst is invalid.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre