from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210187

userrating:


May 25th. 2007:
Words

486

Views

259164

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150528

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





wcwidth

Section: C Library Functions (3)
Updated: 202-0-08
Index Return to Main Contents
 

NAME

wcwidth - determine columns needed for a wide character  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#define _XOPEN_SOURCE       /* See feature_test_macros(7) */
#include <wchar.h>
int wcwidth(wchar_t wc);
 

DESCRIPTION

The wcwidth() function returns the number of columns needed to represent the wide character wc. If wc is a printable wide character, the value is at least 0. If wc is null wide character (L[aq][rs]0[aq]), the value is 0. Otherwise, -1 is returned.  

RETURN VALUE

The wcwidth() function returns the number of column positions for wc.  

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).
InterfaceAttributeValue
wcwidth() Thread safetyM-Safe locale
 

STANDARDS

POSIX.-2008.  

HISTORY

POSIX.-2001. Note that before glibc 2.2.5, glibc used the prototype
int wcwidth(wint_t wc);
 

NOTES

The behavior of wcwidth() depends on the LC_CTYPE category of the current locale.  

SEE ALSO

iswprint(3), wcswidth(3)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ATTRIBUTES
STANDARDS
HISTORY
NOTES
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 15.0 ms