Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwidth(3W) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wchrtbl(1M)

chrtbl(1M)



getwidth(3W)                      SDK R4.11                     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/sys/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)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026