debian man page for rkcvteuc

Query: rkcvteuc

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RKCVTEUC(3)						     Library Functions Manual						       RKCVTEUC(3)

NAME
RkCvtEuc - convert shift JIS code to EUC code
SYNOPSIS
#include <canna/RK.h> int RkCvtEuc(dst, maxdst, src, srclen) unsigned char *dst; int maxdst; unsigned char *src; int srclen;
DESCRIPTION
RkCvtEuc converts the srclen bytes of shift JIS code data to EUC code, starting at the area src. A null character in src is not inter- preted 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 boundaries in the EUC code when its byte length exceeds maxdst -1. dst is padded with null characters at the end if possible. 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. RKCVTEUC(3)
Related Man Pages
wcsrtombs(3) - mojave
rkmaproma(3) - debian
ipsec_atoul(3) - debian
ipsec_ttoul(3) - centos
wcsnrtombs(3) - freebsd
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com