*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> wcwidth (3)              
Title
Content
Arch
Section
 

WCWIDTH(3)

Contents


NAME    [Toc]    [Back]

       wcwidth - determine columns needed for a wide character

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       int wcwidth (wint_t c);

DESCRIPTION    [Toc]    [Back]

       The  wcwidth function returns the number of columns needed to represent
       the wide character c. If c is a printable wide character, the value  is
       at least 0. If c is L'\0', the value is 0. Otherwise -1 is returned.

RETURN VALUE    [Toc]    [Back]

       The wcwidth function returns the number of column positions for c.

CONFORMING TO    [Toc]    [Back]

       UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       wcswidth(3), iswprint(3)

NOTES    [Toc]    [Back]

       The  behaviour  of wcwidth depends on the LC_CTYPE category of the current
 locale.



GNU				  1999-07-25			    WCWIDTH(3)
[ Back ]
 Similar pages
Name OS Title
wcswidth Linux determine columns needed for a fixed-size wide character string
iswctype Tru64 Determine the properties of a wide character
wcslen Linux determine the length of a wide-character string
wcswidth Tru64 Determine the display width of wide-character strings
wcsnlen Linux determine the length of a fixed-size wide-character string
rqsread IRIX reads the information out of an ELF file that is needed to determine if the file needs to be requickstarted
wcsrchr Linux search a wide character in a wide-character string
wmemchr Linux search a wide character in a wide-character array
wcschr Linux search a wide character in a wide-character string
curs_getcchar Tru64 Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character stri...
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service