Penguin
Annotated edit history of getwchar(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 GETWCHAR
2 !!!GETWCHAR
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 NOTES
10 ----
11 !!NAME
12
13
14 getwchar - read a wide character from standard input
15 !!SYNOPSIS
16
17
18 __#include
19 __
20 !!DESCRIPTION
21
22
23 The __getwchar__ function is the wide-character
24 equivalent of the __getchar__ function. It reads a wide
25 character from __stdin__ and returns it. If the end of
26 stream is reached, or if ''ferror(stdin)'' becomes true,
27 it returns WEOF. If a wide character conversion error
28 occurs, it sets __errno__ to __EILSEQ__ and returns
29 WEOF.
30 !!RETURN VALUE
31
32
33 The __getwchar__ function returns the next wide-character
34 from standard input, or WEOF.
35 !!CONFORMING TO
36
37
38 ISO/ANSI C, UNIX98
39 !!SEE ALSO
40
41
42 fgetwc(3)
43 !!NOTES
44
45
46 The behaviour of __getwchar__ depends on the LC_CTYPE
47 category of the current locale.
48
49
50 It is reasonable to expect that __getwchar__ will
51 actually read a multibyte sequence from standard input and
52 then convert it to a wide character.
53 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.