From c43663737c91a02d428c3a6e37b89a94f74cd5c2 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 12 Dec 2008 17:21:08 +0000 Subject: 2008-12-12 Ralf Corsepius * libc/stdio/fputws.c: Fix documentation. * libc/stdio/getwchar.c: Ditto. * libc/stdio/putwchar.c: Ditto. --- newlib/ChangeLog | 6 ++++++ newlib/libc/stdio/fputws.c | 2 +- newlib/libc/stdio/getwchar.c | 6 +++--- newlib/libc/stdio/putwchar.c | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) 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 -- cgit v1.2.3