DragonFly On-Line Manual Pages

Search: Section:  


RKCVTHIRA(3)          DragonFly Library Functions Manual          RKCVTHIRA(3)

NAME

RRkkCCvvttHHiirraa - convert double-width katakana to double-width hiragana

SYNOPSIS

##iinncclluuddee <<ccaannnnaa//RRKK..hh>> iinntt RRkkCCvvttHHiirraa((ddsstt,, mmaaxxddsstt,, ssrrcc,, ssrrcclleenn)) uunnssiiggnneedd cchhaarr **ddsstt;; iinntt mmaaxxddsstt;; uunnssiiggnneedd cchhaarr **ssrrcc;; iinntt ssrrcclleenn;;

DESCRIPTION

RkCvtHira converts the srclen bytes of double-width katakana data to double-width hiragana, 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. NNUULLLL can be specified in dst. NNUULLLL overrides the entire conversion result.

RETURN VALUE

This function returns the byte length of the conversion result, or returns 00 if the value of maxdst is invalid. RKCVTHIRA(3)

Search: Section: