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

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

WCSWIDTH(3)

Contents


NAME    [Toc]    [Back]

       wcswidth  -  determine  columns	needed for a fixed-size wide character
       string

SYNOPSIS    [Toc]    [Back]

       #include <wchar.h>

       int wcswidth (const wchar_t *s, size_t n);

DESCRIPTION    [Toc]    [Back]

       The wcswidth function returns the number of columns needed to represent
       the  wide-character  string pointed to by s, but at most n wide characters.
 If a non-printable wide character occurs among these  characters,
       -1 is returned.

RETURN VALUE    [Toc]    [Back]

       The  wcswidth  function	returns the number of column positions for the
       wide-character string s, truncated to at most length n.

CONFORMING TO    [Toc]    [Back]

       UNIX98

SEE ALSO    [Toc]    [Back]

      
      
       wcwidth(3), iswprint(3)

NOTES    [Toc]    [Back]

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



GNU				  1999-07-25			   WCSWIDTH(3)
[ Back ]
 Similar pages
Name OS Title
wcsnlen Linux determine the length of a fixed-size wide-character string
wcwidth Linux determine columns needed for a wide character
strnlen Linux determine the length of a fixed-size string
wcsncmp Linux compare two fixed-size wide-character strings
wcsncpy Linux copy a fixed-size string of wide characters
wcsncasecmp Linux compare two fixed-size wide-character strings, ignoring case
wcpncpy Linux copy a fixed-size string of wide characters, returning a pointer to its end
wcslen Linux determine the length of a wide-character string
stpncpy Linux copy a fixed-size string, returning a pointer to its end
Tie::SubstrHash IRIX Fixed-table-size, fixed-key-length hashing
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service