diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/stdlib/itoa.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/wcsnrtombs.c | 8 |
2 files changed, 5 insertions, 5 deletions
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. |