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.
This commit is contained in:
parent
db48463a7f
commit
c43663737c
@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
|
* libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
FUNCTION
|
FUNCTION
|
||||||
<<fputs>>---write a wide character string in a file or stream
|
<<fputws>>---write a wide character string in a file or stream
|
||||||
|
|
||||||
INDEX
|
INDEX
|
||||||
fputws
|
fputws
|
||||||
|
@ -56,11 +56,11 @@ The alternate function <<_getwchar_r>> is a reentrant version. The
|
|||||||
extra argument <[reent]> is a pointer to a reentrancy structure.
|
extra argument <[reent]> is a pointer to a reentrancy structure.
|
||||||
|
|
||||||
RETURNS
|
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
|
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)>>'.
|
using `<<ferror(stdin)>>' and `<<feof(stdin)>>'.
|
||||||
|
|
||||||
PORTABILITY
|
PORTABILITY
|
||||||
|
@ -49,7 +49,7 @@ TRAD_SYNOPSIS
|
|||||||
wchar_t <[wc]>;
|
wchar_t <[wc]>;
|
||||||
|
|
||||||
DESCRIPTION
|
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 <<putchar>> function. It writes the wide character wc to stdout.
|
||||||
|
|
||||||
The alternate function <<_putwchar_r>> is a reentrant version. The
|
The alternate function <<_putwchar_r>> is a reentrant version. The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user