euctoibmj(3K) 3/11/92 euctoibmj(3K)
NAME
euctoibmj - convert a string from EUC to IBM host code
SYNOPSIS
cc [flag...] file... -lkanji [library...]
#include <mlx-j/kanji.h>
unsigned char *euctoibmj(unsigned char *dest, unsigned char *src);
DESCRIPTION
euctoibmj converts an EUC string into IBM Japanese (Katakana) Kanji
Mixed Host Code (IBM CCSID's 13218 and 09122).
src points at the null-terminated source string, dest points at the
destination buffer. The caller must ensure that the destination buffer
is large enough to hold the result.
RETURN VALUE
Successful conversion returns a value of dest, which is
null-terminated. If errors are detected during conversion, dest
contains garbage and NULL is returned.
NOTES
The output string is always left in shifted-out mode.
FILES
/usr/lib/libkanji.a
SEE ALSO
seuctoibmj(3K), fkeuctoibmj(3K), ceuctoibmj(3K), ibmjtoeuc(3K).
Page 1 Reliant UNIX 5.44 3, 1911