.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (c) Bruno Haible .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\" References consulted: .\" GNU glibc-2 source code and manual .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH wcwidth 3 "17 Noviembre 2024" "Páginas de Manual de Linux 6.12" .SH NOMBRE wcwidth \- determina las columnas necesarias para un carácter ancho .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP,\ \fI\-lc\fP) .SH SINOPSIS .nf \fB#define _XOPEN_SOURCE\fP /* Vea feature_test_macros(7) */ \fB#include \fP .P \fBint wcwidth(wchar_t \fP\fIwc\fP\fB);\fP .fi .SH DESCRIPCIÓN The \fBwcwidth\fP() function returns the number of columns needed to represent the wide character \fIwc\fP. If \fIwc\fP is a printable wide character, the value is at least 0. If \fIwc\fP is null wide character (L\[aq]\[rs]0\[aq]), the value is 0. Otherwise, \-1 is returned. .SH "VALOR DEVUELTO" The \fBwcwidth\fP() function returns the number of column positions for \fIwc\fP. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interfaz Atributo Valor T{ .na .nh \fBwcwidth\fP() T} Seguridad del hilo Configuración regional de multi\-hilo seguro .TE .SH ESTÁNDARES POSIX.1\-2008. .SH HISTORIAL POSIX.1\-2001. .P Note that before glibc 2.2.5, glibc used the prototype .P .nf \fBint wcwidth(wint_t \fP\fIwc\fP\fB);\fP .fi .SH NOTAS El comportamiento de \fBwcwidth\fP() depende de la categoría \fBLC_CTYPE\fP de la localización actual. .SH "VÉASE TAMBIÉN" \fBiswprint\fP(3), \fBwcswidth\fP(3) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Pedro Pablo Fábrega y Juan Piernas . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .