NAME | SYNOPSIS | DESCRIPTION | IOCTLS | EXAMPLES | FILES | SEE ALSO
#include <sys/jaio.h>
This interface is implemented in pushable STREAMS modules that handle Japanese I/O. These are used to query or change the third character of the three character ISO escape sequence for announcing data.
These calls take an argument, which is expected to be a pointer to a "kioc" structure, defined in the header file sys/jaio.h, as follows:
struct kioc {
char ki;
char ko;
}:
This call changes the 3rd characters of JIS Kanji-In/Out ISO announcement sequences.
This call returns the 3rd characters of JIS Kanji-In/Out ISO announcement sequences in the "kioc" structure.
#include <sys/jaio.h>
struct kioc ja_kio;
struct strioctl cmd;
.
.
ja_kio.ki = '[input escape char]';
ja_kio.ko = '[output escape char]';
cmd.ic_cmd = JA_SKIOC;
cmd.ic_timout = 0;
cmd.ic_len = sizeof(kioc_t);
cmd.ic_dp = (char *)&ja_kio;
ioctl(0, I_STR, &cmd);
.
.
NAME | SYNOPSIS | DESCRIPTION | IOCTLS | EXAMPLES | FILES | SEE ALSO