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

개요

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

wcwidth(3c)

Standard C Library Functions                                       wcwidth(3C)



NAME
       wcwidth - number of column positions of a wide-character code

SYNOPSIS
       #include <wchar.h>

       int wcwidth(wchar_t wc);

DESCRIPTION
       The  wcwidth()  function  determines  the  number  of  column positions
       required for the wide character wc. The value of wc must be a character
       representable  as  a  wchar_t, and must be a wide-character code corre‐
       sponding to a valid character in the current locale.

RETURN VALUES
       The wcwidth() function either returns 0 (if wc is a null wide-character
       code),  or returns the number of column positions to be occupied by the
       wide-character code wc, or returns −1 (if wc does not correspond  to  a
       printing wide-character code).

ERRORS
       No errors are defined.

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 _ CSIEnabled _ Interface StabilityCommitted _ MT-LevelMT-
       Safe _ StandardSee standards(7).


SEE ALSO
       setlocale(3C), wcswidth(3C), attributes(7), standards(7)



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