RkCvtHan man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

RKCVTHAN(3)							   RKCVTHAN(3)

NAME
       RkCvtHan / RkwCvtHan - convert double-width symbols, alphanumeric char‐
       acters, hiragana, and katakana to single-width characters

SYNOPSIS
       #include <canna/RK.h>
       int RkCvtHan(dst, maxdst, src, srclen)
       unsigned char *dst;
       int maxdst;
       unsigned char *src;
       int srclen;
       int RkwCvtHan(dst, maxdst, src, srclen)
       wchar_t *dst;
       int maxdst;
       wchar_t *src;
       int srclen;

DESCRIPTION
       RkCvtHan converts the srclen bytes of double-width symbol, alphanumeric
       characters,  hiragana,  and  katakana  data to single-width characters,
       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
       are.   The conversion result is truncated to adjust to character bound‐
       aries 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.

       RkwCvtHan is the wchar_t version of RkCvtHan.  Arguments which  specify
       the  length  are regarded as they count the character length instead of
       byte length.

       NULL can be specified in dst.  NULL  overrides  the  entire  conversion
       result.

RETURN VALUE
       This  function  returns	the  byte  length  (or	character  length  for
       RkwCvtHan) of the conversion result, or	returns	 0  if	the  value  of
       maxdst is invalid.

								   RKCVTHAN(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net