.\" -*- coding: UTF-8 -*- '\" t .\" and Copyright (C) 2014 Michael Kerrisk .\" .\" 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 .\" ISO/IEC 9899:1999 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH towupper 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE towupper, towupper_l \- convierte un carácter ancho a mayúsculas .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBwint_t towupper(wint_t \fP\fIwc\fP\fB);\fP \fBwint_t towupper_l(wint_t \fP\fIwc\fP\fB, locale_t \fP\fIlocalización\fP\fB);\fP .fi .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBtowupper_l\fP(): .nf Desde glibc 2.10: _XOPEN_SOURCE >= 700 Antes de glibc 2.10: _GNU_SOURCE .fi .SH DESCRIPCIÓN The \fBtowupper\fP() function is the wide\-character equivalent of the \fBtoupper\fP(3) function. If \fIwc\fP is a lowercase wide character, and there exists an uppercase equivalent in the current locale, it returns the uppercase equivalent of \fIwc\fP. In all other cases, \fIwc\fP is returned unchanged. .PP The \fBtowupper_l\fP() function performs the same task, but performs the conversion based on the character type information in the locale specified by \fIlocale\fP. The behavior of \fBtowupper_l\fP() is undefined if \fIlocale\fP is the special locale object \fBLC_GLOBAL_LOCALE\fP (see \fBduplocale\fP(3)) or is not a valid locale object handle. .PP The argument \fIwc\fP must be representable as a \fIwchar_t\fP and be a valid character in the locale or be the value \fBWEOF\fP. .SH "VALOR DEVUELTO" If \fIwc\fP was convertible to uppercase, \fBtowupper\fP() returns its uppercase equivalent; otherwise it returns \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 \fBtowupper\fP() T} Seguridad del hilo Configuración regional de multi\-hilo seguro T{ .na .nh \fBtowupper_l\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH ESTÁNDARES .TP \fBtowupper\fP() C11, POSIX.1\-2008 (XSI). .TP \fBtowupper_l\fP() POSIX.1\-2008. .SH HISTORIAL .TP \fBtowupper\fP() C99, POSIX.1\-2001 (XSI). Obsolete in POSIX.1\-2008 (XSI). .TP \fBtowupper_l\fP() POSIX.1\-2008. glibc 2.3. .SH NOTAS El comportamiento de estas funciones depende de la categoría \fBLC_CTYPE\fP de la localización actual. .PP Esta función no es muy apropiada para trabajar con caracteres Unicode debido a que Unicode distingue tres posibilidades: mayúsculas, minúsculas y título. .SH "VÉASE TAMBIÉN" \fBiswupper\fP(3), \fBtowctrans\fP(3), \fBtowlower\fP(3), \fBlocale\fP(7) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Juan Piernas y Marcos Fouces . .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 .