diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1a857b6d3..be220091c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2015-06-23 Jon Turney + + * libc/stdlib/itoa.c: Fix makedoc markup. + * libc/stdlib/wcsnrtombs.c: Ditto. + 2015-06-23 Jon Turney * libc/signal/signal.tex: Use texinfo not makedoc markup. 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 -<> converts the integer [] to a null-terminated string +<> 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 <> 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.