wcwidth(3) Library Functions Manual wcwidth(3) NOMBRE wcwidth - determina las columnas necesarias para un caracter ancho BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #define _XOPEN_SOURCE /* Vea feature_test_macros(7) */ #include int wcwidth(wchar_t wc); DESCRIPCION 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'\0'), the value is 0. Otherwise, -1 is returned. VALOR DEVUELTO The wcwidth() function returns the number of column positions for wc. ATRIBUTOS Para obtener una explicacion de los terminos usados en esta seccion, vease attributes(7). +----------+--------------------+-----------------------------------------------+ |Interfaz | Atributo | Valor | +----------+--------------------+-----------------------------------------------+ |wcwidth() | Seguridad del hilo | Configuracion regional de multi-hilo seguro | +----------+--------------------+-----------------------------------------------+ ESTANDARES POSIX.1-2008. HISTORIAL POSIX.1-2001. Note that before glibc 2.2.5, glibc used the prototype int wcwidth(wint_t wc); NOTAS El comportamiento de wcwidth() depende de la categoria LC_CTYPE de la localizacion actual. VEASE TAMBIEN iswprint(3), wcswidth(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Pedro Pablo Fabrega y Juan Piernas Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de Manual de Linux 6.12 17 Noviembre 2024 wcwidth(3)