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:

209581

userrating:


May 25th. 2007:
Words

486

Views

258588

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:

149878

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





wcswidth

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

NAME

wcswidth - determine columns needed for a fixe-size wid-character string  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#define _XOPEN_SOURCE             /* See feature_test_macros(7) */
#include <wchar.h>
int wcswidth(const wchar_t *s, size_t n);
 

DESCRIPTION

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

RETURN VALUE

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

ATTRIBUTES

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

STANDARDS

POSIX.-2008.  

HISTORY

POSIX.-2001.  

NOTES

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

SEE ALSO

iswprint(3), wcwidth(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: 12.8 ms