sibmjtoeuc(3K) 3/11/92 sibmjtoeuc(3K)
NAME
sibmjtoeuc - convert a string from EUC to IBM host code
SYNOPSIS
cc [flag...] file... -lkanji [library...]
#include <mlx-j/kanji.h>
unsigned char *sibmjtoeuc(unsigned char *dest, sizet dlen, unsigned
char *src);
DESCRIPTION
sibmjtoeuc 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
buffer to receive the result. dlen is the size of the dest buffer.
RETURN VALUE
Successful conversion returns a value of dest, which is
null-terminated. If errors are detected during conversion, or if the
size of the output buffer is insufficient to hold the result, 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
fkibmjtoeuc(3K), cibmjtoeuc(3K), seuctoibmj(3K).
Page 1 Reliant UNIX 5.44 3, 1911