1GETWCHAR(P) POSIX Programmer's Manual GETWCHAR(P)
2
3
4
6 getwchar - get a wide character from a stdin stream
7
9 #include <wchar.h>
10
11 wint_t getwchar(void);
12
13
15 The getwchar() function shall be equivalent to getwc(stdin).
16
18 Refer to fgetwc() .
19
21 Refer to fgetwc() .
22
23 The following sections are informative.
24
26 None.
27
29 If the wint_t value returned by getwchar() is stored into a variable of
30 type wchar_t and then compared against the wint_t macro WEOF, the
31 result may be incorrect. Only the wint_t type is guaranteed to be able
32 to represent any wide character and WEOF.
33
35 None.
36
38 None.
39
41 fgetwc() , getwc() , the Base Definitions volume of
42 IEEE Std 1003.1-2001, <wchar.h>
43
45 Portions of this text are reprinted and reproduced in electronic form
46 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
47 -- Portable Operating System Interface (POSIX), The Open Group Base
48 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
49 Electrical and Electronics Engineers, Inc and The Open Group. In the
50 event of any discrepancy between this version and the original IEEE and
51 The Open Group Standard, the original IEEE and The Open Group Standard
52 is the referee document. The original Standard can be obtained online
53 at http://www.opengroup.org/unix/online.html .
54
55
56
57IEEE/The Open Group 2003 GETWCHAR(P)