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 c); DESCRIPCION The wcwidth() function returns the number of columns needed to represent the wide character c. If c is a printable wide character, the value is at least 0. If c is null wide character (L'\0'), the value is 0. Otherwise, -1 is returned. VALOR DEVUELTO La funcion wcwidth() devuelve el numero de posiciones de columna para c. 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 c); 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.06 31 Octubre 2023 wcwidth(3)