FreeBSD Manual Pages
RKCVTKANA(3) Library Functions Manual RKCVTKANA(3) NAME RkCvtKana - convert double-width hiragana to double-width katakana SYNOPSIS #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 conver- sion are copied as they area. The conversion result is truncated to adjust to character boundaries in the EUC code when its byte length ex- ceeds maxdst -1. dst is padded with null characters at the end if pos- sible. EUC code is used to represent both src and dst. NULL can be specified in dst. NULL overrides the entire conversion re- sult. RETURN VALUE This function returns the byte length of the conversion result, or re- turns 0 if the value of maxdst is invalid. RKCVTKANA(3)
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=RkCvtKana&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>