aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r--newlib/libc/stdio/fputws.c2
-rw-r--r--newlib/libc/stdio/getwchar.c6
-rw-r--r--newlib/libc/stdio/putwchar.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdio/fputws.c b/newlib/libc/stdio/fputws.c
index 5960818..b8e5d1e 100644
--- a/newlib/libc/stdio/fputws.c
+++ b/newlib/libc/stdio/fputws.c
@@ -26,7 +26,7 @@
/*
FUNCTION
-<<fputs>>---write a wide character string in a file or stream
+<<fputws>>---write a wide character string in a file or stream
INDEX
fputws
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
diff --git a/newlib/libc/stdio/putwchar.c b/newlib/libc/stdio/putwchar.c
index 12c9f09..fcb0a7d 100644
--- a/newlib/libc/stdio/putwchar.c
+++ b/newlib/libc/stdio/putwchar.c
@@ -49,7 +49,7 @@ TRAD_SYNOPSIS
wchar_t <[wc]>;
DESCRIPTION
-The <<putwchar(>> function or macro is the wide-character equivalent of
+The <<putwchar>> function or macro is the wide-character equivalent of
the <<putchar>> function. It writes the wide character wc to stdout.
The alternate function <<_putwchar_r>> is a reentrant version. The