svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
wcwidth(3c)
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 re‐
quired 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)
Handling Characters and Character Strings in Internationalizing and Lo‐
calizing Applications in Oracle Solaris
HISTORY
The wcwidth() function was added to Solaris in the Solaris 2.4 release.
Oracle Solaris 11.4 25 Nov 2024 wcwidth(3C)