summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/stdlib/Makefile.am2
-rw-r--r--newlib/libc/stdlib/Makefile.in2
-rw-r--r--newlib/libc/stdlib/stdlib.tex4
-rw-r--r--newlib/libc/stdlib/wcstod.c2
4 files changed, 7 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/Makefile.am b/newlib/libc/stdlib/Makefile.am
index 6a9296e62..74df73a09 100644
--- a/newlib/libc/stdlib/Makefile.am
+++ b/newlib/libc/stdlib/Makefile.am
@@ -229,6 +229,7 @@ CHEWOUT_FILES= \
malloc.def \
mallocr.def \
mblen.def \
+ mbsnrtowcs.def \
mbstowcs.def \
mbtowc.def \
mlock.def \
@@ -241,6 +242,7 @@ CHEWOUT_FILES= \
strtoll.def \
strtoul.def \
strtoull.def \
+ wcsnrtombs.def \
wcstod.def \
wcstol.def \
wcstoll.def \
diff --git a/newlib/libc/stdlib/Makefile.in b/newlib/libc/stdlib/Makefile.in
index ab06a0ef3..4734317cf 100644
--- a/newlib/libc/stdlib/Makefile.in
+++ b/newlib/libc/stdlib/Makefile.in
@@ -520,6 +520,7 @@ CHEWOUT_FILES = \
malloc.def \
mallocr.def \
mblen.def \
+ mbsnrtowcs.def \
mbstowcs.def \
mbtowc.def \
mlock.def \
@@ -532,6 +533,7 @@ CHEWOUT_FILES = \
strtoll.def \
strtoul.def \
strtoull.def \
+ wcsnrtombs.def \
wcstod.def \
wcstol.def \
wcstoll.def \
diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex
index 9242246db..b227d13e9 100644
--- a/newlib/libc/stdlib/stdlib.tex
+++ b/newlib/libc/stdlib/stdlib.tex
@@ -29,7 +29,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* malloc:: Allocate and manage memory (malloc, realloc, free)
* mallinfo:: Get information about allocated memory
* __malloc_lock:: Lock memory pool for malloc and free
-* mbsnrtowcs:: Convert a character string to a wide-character string
+* mbsrtowcs:: Convert a character string to a wide-character string
* mbstowcs:: Minimal multibyte string to wide string converter
* mblen:: Minimal multibyte length
* mbtowc:: Minimal multibyte to wide character converter
@@ -41,7 +41,7 @@ The corresponding declarations are in the header file @file{stdlib.h}.
* strtoll:: String to long long
* strtoul:: String to unsigned long
* strtoull:: String to unsigned long long
-* wcsnrtombs:: Convert a wide-character string to a character string
+* wcsrtombs:: Convert a wide-character string to a character string
* wcstod:: Wide string to double or float
* wcstol:: Wide string to long
* wcstoll:: Wide string to long long
diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c
index 2d62a86af..11fb922b1 100644
--- a/newlib/libc/stdlib/wcstod.c
+++ b/newlib/libc/stdlib/wcstod.c
@@ -71,7 +71,7 @@ DESCRIPTION
round-even rule. However, <<wcstof>> is currently subject to
double rounding errors.
- The alternate functions <<_wcstod_r>> and <<_wcstof_r>:> are
+ The alternate functions <<_wcstod_r>> and <<_wcstof_r>> are
reentrant versions of <<wcstod>> and <<wcstof>>, respectively.
The extra argument <[reent]> is a pointer to a reentrancy structure.