Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cibmjtoeuc(3K) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fkibmjtoeuc(3K)

sibmjtoeuc(3K)

ceuctoibmj(3K)

cibmjtoeuc(3K)                   3/11/92                     cibmjtoeuc(3K)

NAME
     cibmjtoeuc - convert a character from IBM host code to EUC

SYNOPSIS
     cc [flag...] file... -lkanji [library...]

     #include <mlx-j/kanji.h>

     unsigned char *cibmjtoeuc(unsigned char *dest, unsigned char *src);

DESCRIPTION
     cibmjtoeuc converts an IBM  host  code  half-size  katakana  or  kanji
     character  into  EUC.  The  source  character  must be in IBM Japanese
     (Katakana) Kanji Mixed Host Code (IBM CCSID's 13218 and 09122).

     src points at the IBM host code character to be converted, dest points
     at the buffer to receive the result. The destination buffer must be at
     least three bytes long.

     If the source buffer contains a single-byte half-size kana, the second
     byte  of  the  source  buffer  must be set to 0. Otherwise, the source
     buffer must contain a valid two-byte kanji. The destination buffer  is
     filled with the two-byte EUC character, followed by a null byte.

RETURN VALUE
     Successful conversion returns a value of dest. If  the  source  buffer
     does  not  contain  a  valid  IBM  host  code  kanji or half-size kana
     character, or if it contains a kanji character which does not exist in
     in EUC, the return value is NULL.

FILES
     /usr/lib/libkanji.a

SEE ALSO
     fkibmjtoeuc(3K), sibmjtoeuc(3K), ceuctoibmj(3K).




















Page 1                       Reliant UNIX 5.44                      3, 1911

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026