Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwidth(3C) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chrtbl(1M)

wchrtbl(1M)






       getwidth(3C)                                            getwidth(3C)


       NAME
             getwidth - get information on supplementary code sets

       SYNOPSIS
             #include <sys/euc.h>
             #include <getwidth.h>
             void getwidth(eucwidth_t *ptr);

       DESCRIPTION
             getwidth reads the character class table generated by
             chrtbl(1M) or wchrtbl(1M) to get information on supplementary
             code sets, and puts it in the structure eucwidth_t.

             The structure eucwidth_t is defined in the header file euc.h
             as follows:

                 typedef struct {
                     short int _eucw1,_eucw2,_eucw3;
                     short int _scrw1,_scrw2,_scrw3;
                     short int _pcw;
                     char_multibyte;
                 } eucwidth_t;


             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.

       REFERENCES
             chrtbl(1M), wchrtbl(1M)












                           Copyright 1994 Novell, Inc.               Page 1








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