getwidth(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

getwidth(3c)

getwidth(3C)             Standard C Library Functions             getwidth(3C)

NAME
       getwidth - get codeset information

SYNOPSIS
       #include <euc.h>
       #include <getwidth.h>

       void getwidth(eucwidth_t *ptr);

DESCRIPTION
       The getwidth() function reads the character class table for the current
       locale  to  get  information  on the supplementary codesets. getwidth()
       sets this information into the struct eucwidth_t. This  struct  is  de‐
       fined in <euc.h> and has the following members:

         short int   _eucw1, _eucw2, _eucw3;
         short int   _scrw1, _scrw2, _scrw3;
         short int   _pcw;
         char        _multibyte;



       Codeset  width values for supplementary codesets 1, 2, and 3 are set in
       _eucw1, _eucw2, and _eucw3, respectively. Screen width values for  sup‐
       plementary  codesets 1, 2, and 3 are set in _scrw1, _scrw2, and _scrw3,
       respectively.


       The width of Extended UNIX Code (EUC) Process Code is set in _pcw.  The
       _multibyte  entry is set to 1 if multibyte characters are used, and set
       to 0 if only single-byte characters are used.

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

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ MT-LevelMT-Safe


SEE ALSO
       euclen(3C), setlocale(3C), attributes(7)

NOTES
       The getwidth() function will only work with EUC locales.

Oracle Solaris 11.4               11 May 2021                     getwidth(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3