diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6e96fa7b4..7b84b99f4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2008-12-12 Ralf Corsepius + + * libc/stdio/fputws.c: Fix documentation. + * libc/stdio/getwchar.c: Ditto. + * libc/stdio/putwchar.c: Ditto. + 2008-12-12 Ralf Corsepius * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to diff --git a/newlib/libc/stdio/fputws.c b/newlib/libc/stdio/fputws.c index 596081806..b8e5d1e0b 100644 --- a/newlib/libc/stdio/fputws.c +++ b/newlib/libc/stdio/fputws.c @@ -26,7 +26,7 @@ /* FUNCTION -<>---write a wide character string in a file or stream +<>---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 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 <>), unless there is no more +The next wide character cast to <>, unless there is no more data, or the host system reports a read error; in either of these -situations, <> returns <>. +situations, <> returns <>. -You can distinguish the two situations that cause an <> result by +You can distinguish the two situations that cause an <> result by using `<>' and `<>'. PORTABILITY diff --git a/newlib/libc/stdio/putwchar.c b/newlib/libc/stdio/putwchar.c index 12c9f09cc..fcb0a7dba 100644 --- a/newlib/libc/stdio/putwchar.c +++ b/newlib/libc/stdio/putwchar.c @@ -49,7 +49,7 @@ TRAD_SYNOPSIS wchar_t <[wc]>; DESCRIPTION -The <> function or macro is the wide-character equivalent of +The <> function or macro is the wide-character equivalent of the <> function. It writes the wide character wc to stdout. The alternate function <<_putwchar_r>> is a reentrant version. The