wcwidth man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

WCWIDTH(3C)							   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(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────────────┐
       │  ATTRIBUTE TYPE    │	  ATTRIBUTE VALUE     │
       ├────────────────────┼─────────────────────────┤
       │CSI		    │ Enabled		      │
       ├────────────────────┼─────────────────────────┤
       │Interface Stability │ Standard		      │
       ├────────────────────┼─────────────────────────┤
       │MT-Level	    │ MT-Safe with exceptions │
       └────────────────────┴─────────────────────────┘

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

				 Aug 14, 2002			   WCWIDTH(3C)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net