Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 18:12:05 +0300
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 18:14:53 +0300
commitc7b1e4cbf2dbd335189a592b2fb865a8160f5c78 (patch)
tree1da2d3e51da6d9416aeef8addc688cc0d800b355
parent42e040a448fc5a15ec1171abba8ad5eb7b3b6d38 (diff)
Fix some mangled makedoc markup
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk> * libc/stdlib/itoa.c: Fix makedoc markup. * libc/stdlib/wcsnrtombs.c: Ditto. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdlib/itoa.c2
-rw-r--r--newlib/libc/stdlib/wcsnrtombs.c8
3 files changed, 10 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 1a857b6d3..be220091c 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+ * libc/stdlib/itoa.c: Fix makedoc markup.
+ * libc/stdlib/wcsnrtombs.c: Ditto.
+
+2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+
* libc/signal/signal.tex: Use texinfo not makedoc markup.
* libc/stdio/stdio.tex: Ditto.
diff --git a/newlib/libc/stdlib/itoa.c b/newlib/libc/stdlib/itoa.c
index c7c9b8871..377834d03 100644
--- a/newlib/libc/stdlib/itoa.c
+++ b/newlib/libc/stdlib/itoa.c
@@ -11,7 +11,7 @@ ANSI_SYNOPSIS
char *__itoa(int <[value]>, char *<[str]>, int <[base]>);
DESCRIPTION
-<<itoa>> converts the integer [<value>] to a null-terminated string
+<<itoa>> converts the integer <[value]> to a null-terminated string
using the specified base, which must be between 2 and 36, inclusive.
If <[base]> is 10, <[value]> is treated as signed and the string will be
prefixed with '-' if negative. For all other bases, <[value]> is treated as
diff --git a/newlib/libc/stdlib/wcsnrtombs.c b/newlib/libc/stdlib/wcsnrtombs.c
index fa1b2acac..99c8bd175 100644
--- a/newlib/libc/stdlib/wcsnrtombs.c
+++ b/newlib/libc/stdlib/wcsnrtombs.c
@@ -69,12 +69,12 @@ TRAD_SYNOPSIS
DESCRIPTION
The <<wcsrtombs>> function converts a string of wide characters indirectly
pointed to by <[src]> to a corresponding multibyte character string stored in
-the array pointed to by <[dst}>. No more than <[len]> bytes are written to
-<[dst}>.
+the array pointed to by <[dst]>. No more than <[len]> bytes are written to
+<[dst]>.
-If <[dst}> is NULL, no characters are stored.
+If <[dst]> is NULL, no characters are stored.
-If <[dst}> is not NULL, the pointer pointed to by <[src]> is updated to point
+If <[dst]> is not NULL, the pointer pointed to by <[src]> is updated to point
to the character after the one that conversion stopped at. If conversion
stops because a null character is encountered, *<[src]> is set to NULL.