.\" Copyright (c) Bruno Haible .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" 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 .\" .\" Translated Sun Apr 23 2000 by Juan Piernas .\" .TH GETWCHAR 3 "25 julio 1999" "GNU" "Manual del Programador de Linux" .SH NOMBRE getwchar \- lee un carácter ancho de la entrada estándar .SH SINOPSIS .nf .B #include .sp .BI "wint_t getwchar (void);" .fi .SH DESCRIPCIÓN La función \fBgetwchar\fP es equivalente para caracteres anchos a la función \fBgetchar\fP. Lee un carácter ancho de \fBstdin\fP y lo devuelve. Si se llega al final del flujo o si \fIferror(stdin)\fP es cierto, se devuelve WEOF. Si se produce un error en la conversión de caracteres anchos, se asigna a \fBerrno\fP el valor \fBEILSEQ\fP y la función devuelve WEOF. .PP Para la versión no-bloqueante, véase .BR unlocked_stdio (3). .SH "VALOR DEVUELTO" La función \fBgetwchar\fP devuelve el siguiente carácter ancho de la entrada estándar, o WEOF. .SH "CONFORME A" ISO/ANSI C, UNIX98 .SH OBSERVACIONES El comportamiento de \fBgetwchar\fP depende de la categoría LC_CTYPE de la localización actual. .PP Es razonable esperar que \fBgetwchar\fP lea realmente la secuencia multibyte de la entrada estándar y que la convierta a un carácter ancho. .SH "VÉASE TAMBIÉN" .BR fgetwc (3), .BR unlocked_stdio (3)