Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-12-12 20:21:08 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-12-12 20:21:08 +0300
commitc43663737c91a02d428c3a6e37b89a94f74cd5c2 (patch)
tree4e0f11508913a9979acb188bc50cfd181cf49923 /newlib/libc/stdio/getwchar.c
parentdb48463a7fdf1c0c008104116b17b76614a5e031 (diff)
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/getwchar.c b/newlib/libc/stdio/getwchar.c
index c55bf1b83..f559c7677 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