getwidth(3W) DG/UX 5.4R3.00 getwidth(3W)
NAME
getwidth - get information of supplementary code sets
SYNOPSIS
#include <sys/euc.h>
#include <getwidth.h>
void getwidth(eucwidtht *ptr);
DESCRIPTION
getwidth() reads the character class table, which is generated by
chrtbl or wchrtbl, to get information of supplementary code sets, and
sets it into the structure eucwidtht.
The structure eucwidtht is defined in the header file
/usr/include/euc.h as follows:
typedef struct {
short int eucw1,eucw2,eucw3;
short int scrw1,scrw2,scrw3;
short int pcw;
charmultibyte;
} eucwidtht;
Code set width values for three supplementary code sets are set in
eucw1, eucw2 and eucw3, respectively. Screen width values for the
three supplementary code sets are set in scrw1, scrw2 and scrw3,
respectively. The width of EUC process code is set in pcw. The
maximum width in bytes of EUC is set in multibyte.
If the cswidth parameter is not set, the system default is required.
The system default is cswidth 1:1,0:0,0:0.
SEE ALSO
wchrtbl(1M).
chrtbl(1M).
Licensed material--property of copyright holder(s) 1