diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-12-12 17:21:08 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-12-12 17:21:08 +0000 |
commit | c43663737c91a02d428c3a6e37b89a94f74cd5c2 (patch) | |
tree | 4e0f11508913a9979acb188bc50cfd181cf49923 /newlib/libc/stdio/getwchar.c | |
parent | db48463a7fdf1c0c008104116b17b76614a5e031 (diff) | |
download | newlib-c43663737c91a02d428c3a6e37b89a94f74cd5c2.zip newlib-c43663737c91a02d428c3a6e37b89a94f74cd5c2.tar.gz newlib-c43663737c91a02d428c3a6e37b89a94f74cd5c2.tar.bz2 |
2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/stdio/fputws.c: Fix documentation.
* libc/stdio/getwchar.c: Ditto.
* libc/stdio/putwchar.c: Ditto.
Diffstat (limited to 'newlib/libc/stdio/getwchar.c')
-rw-r--r-- | newlib/libc/stdio/getwchar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/getwchar.c b/newlib/libc/stdio/getwchar.c index c55bf1b..f559c76 100644 --- a/newlib/libc/stdio/getwchar.c +++ b/newlib/libc/stdio/getwchar.c @@ -56,11 +56,11 @@ The alternate function <<_getwchar_r>> is a reentrant version. The extra argument <[reent]> is a pointer to a reentrancy structure. RETURNS -The next wide character cast to <<wint_t>>), unless there is no more +The next wide character cast to <<wint_t>>, unless there is no more data, or the host system reports a read error; in either of these -situations, <<getwchar>> returns <<EOF>>. +situations, <<getwchar>> returns <<WEOF>>. -You can distinguish the two situations that cause an <<EOF>> result by +You can distinguish the two situations that cause an <<WEOF>> result by using `<<ferror(stdin)>>' and `<<feof(stdin)>>'. PORTABILITY |