ibmjtoeuc(3K) 3/11/92 ibmjtoeuc(3K)
NAME
ibmjtoeuc - convert a string from EUC to IBM host code
SYNOPSIS
cc [flag...] file... -lkanji [library...]
#include <mlx-j/kanji.h>
unsigned char *ibmjtoeuc(unsigned char *dest, unsigned char *src);
DESCRIPTION
ibmjtoeuc converts a string in IBM Japanese (Katakana) Kanji Mixed
Host Code (IBM CCSID's 13218 and 09122) into EUC.
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 input string is assumed to start in shifted-out mode.
FILES
/usr/lib/libkanji.a
SEE ALSO
sibmjtoeuc(3K), fkibmjtoeuc(3K), cibmjtoeuc(3K), euctoibmj(3K).
Page 1 Reliant UNIX 5.44 3, 1911