aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/getwchar.c
diff options
context:
space:
mode:
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 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