.\" -*- 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 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .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 .PP \fBint wcwidth(wchar_t \fP\fIc\fP\fB);\fP .fi .SH DESCRIPCIÓN The \fBwcwidth\fP() function returns the number of columns needed to represent the wide character \fIc\fP. If \fIc\fP is a printable wide character, the value is at least 0. If \fIc\fP is null wide character (L\[aq]\e0\[aq]), the value is 0. Otherwise, \-1 is returned. .SH "VALOR DEVUELTO" La función \fBwcwidth\fP() devuelve el número de posiciones de columna para \fIc\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 .sp 1 .SH ESTÁNDARES POSIX.1\-2008. .SH HISTORIAL POSIX.1\-2001. .PP Note that before glibc 2.2.5, glibc used the prototype .PP .nf \fBint wcwidth(wint_t \fP\fIc\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 .