diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-06-18 13:38:12 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-06-24 12:23:25 +0100 |
commit | 958c953416d8df84e5cccc06e158c1f769f3ad51 (patch) | |
tree | 00a37c536738ac93228de3280402fac831bc8aa1 | |
parent | de5e58a6402ce2f4abd55a47e698030dbce30ac9 (diff) | |
download | cygnal-958c953416d8df84e5cccc06e158c1f769f3ad51.tar.gz cygnal-958c953416d8df84e5cccc06e158c1f769f3ad51.tar.bz2 cygnal-958c953416d8df84e5cccc06e158c1f769f3ad51.zip |
Fix mismatched parentheses in documentation.
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
* libc/locale/locale.c: Fix mismatched parentheses in
documentation.
* libc/locale/locale.tex: Ditto.
* libc/stdio/fgetwc.c: Ditto.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-rw-r--r-- | newlib/libc/locale/locale.c | 2 | ||||
-rw-r--r-- | newlib/libc/locale/locale.tex | 2 | ||||
-rw-r--r-- | newlib/libc/stdio/fgetwc.c | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index f5b173765..7f8b5c713 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,12 @@ 2015-06-23 Jon Turney <jon.turney@dronecode.org.uk> + * libc/locale/locale.c: Fix mismatched parentheses in + documentation. + * libc/locale/locale.tex: Ditto. + * libc/stdio/fgetwc.c: Ditto. + +2015-06-23 Jon Turney <jon.turney@dronecode.org.uk> + * libc/stdlib/efgcvt.c: Fix typo-ed function names in documentation. * libc/stdlib/stdlib.tex: Fix function name in menu to match. diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 8e2b121bc..77b53a99d 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -88,7 +88,7 @@ Cygwin additionally supports locales from the file /usr/share/locale/locale.alias. (<<"">> is also accepted; if given, the settings are read from the -corresponding LC_* environment variables and $LANG according to POSIX rules. +corresponding LC_* environment variables and $LANG according to POSIX rules.) This implementation also supports the modifier <<"cjknarrow">>, which affects how the functions <<wcwidth>> and <<wcswidth>> handle characters diff --git a/newlib/libc/locale/locale.tex b/newlib/libc/locale/locale.tex index 20dc5d2bc..eee7d77cb 100644 --- a/newlib/libc/locale/locale.tex +++ b/newlib/libc/locale/locale.tex @@ -9,7 +9,7 @@ one defined in the ANSI C standard. This is a minimal implementation, supporting only the required @code{"C"} value for locale; strings representing other locales are not honored. (@code{""} is also accepted; it represents the default locale -for an implementation, here equivalent to @code{"C"}. +for an implementation, here equivalent to @code{"C"}). @file{locale.h} defines the structure @code{lconv} to collect the diff --git a/newlib/libc/stdio/fgetwc.c b/newlib/libc/stdio/fgetwc.c index e89404be8..d6de4b6cb 100644 --- a/newlib/libc/stdio/fgetwc.c +++ b/newlib/libc/stdio/fgetwc.c @@ -150,7 +150,7 @@ are simply reentrant versions of the above functions that are passed the additional reentrant structure pointer argument: <[ptr]>. RETURNS -The next wide character cast to <<wint_t>>), unless there is no more data, +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, <<fgetwc>> and <<getwc>> return <<WEOF>>. |