Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Thursday, June 13, 2019
 
 

jconvu (4M)

Name

jconvu - code conversion STREAMS module (UTF-8/Japanese EUC)

Synopsis

#include <sys/types.h>
#include <sys/stropt.h>
#include <sys/conf.h>
ioctl(fd, I_PUSH, "jconvu");

Description

jconvu is a STREAMS module that is available to be pushed onto a stream. Usually, this module has to be pushed onto a stream between a raw device such as ptem (4M) and terminal line discipline module such as ldterm (4M) .

jconvu has to be pushed when you set UTF—8 terminal. It converts up stream for UTF—8 into Japanese EUC and passes high module. It also converts down stream for Japanese EUC into UTF—8 and passes low module.

Ioctls

jconvu processes the following ioctls:

EUC_OXLON

Start performing code conversion between UTF—8 and Japanese EUC for I/O stream.

EUC_OXLOFF

Stop performing code conversion between UTF—8 and Japanese EUC for I/O stream.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/locale/extra

See Also

setterm(1), stty(1), streamio (4I) , jconv7 (4M) , jconv8 (4M) , jconvrs (4M) , jconvru (4M) , jconvs (4M) , ldterm (4M) , ptem (4M)

Notes

When you use jconvu with jconvrs (4M) or jconvru (4M) at a time and `raw' is specified by stty(1), code convert function automatically become off without specification by EUC_OXLON / EUC_OXLOFF.