1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification
12 .\" http://www.UNIX-systems.org/online.html
15 .TH GETWCHAR 3 1999-07-25 "GNU" "Linux Programmer's Manual"
17 getwchar \- read a wide character from standard input
22 .B "wint_t getwchar(void);"
27 function is the wide-character equivalent of the
30 It reads a wide character from \fIstdin\fP and returns
32 If the end of stream is reached, or if \fIferror(stdin)\fP becomes
35 If a wide-character conversion error occurs, it sets
36 \fIerrno\fP to \fBEILSEQ\fP and returns
39 For a nonlocking counterpart, see
40 .BR unlocked_stdio (3).
44 function returns the next wide-character from
57 It is reasonable to expect that
60 read a multibyte sequence from standard input and then
61 convert it to a wide character.
64 .BR unlocked_stdio (3)