From 2e10d61ccb8311e75df612a028873f212020057a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 19 Feb 2009 09:19:42 +0000 Subject: * libc/include/wchar.h (mbsnrtowcs): Declare. (_mbsnrtowcs_r): Declare. (wcsnrtombs): Declare. (_wcsnrtombs_r): Declare. * libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c and wcsnrtombs.c. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r and mbsnrtowcs. Document mbsnrtowcs and mbsrtowcs. * libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r. (mbsrtowcs): Ditto. * libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r and wcsnrtombs. Document wcsrtombs and wcsnrtombs. * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r. (wcsrtombs): Ditto. * libc/stdlib/stdlib.tex: Accommodate new documentation. --- newlib/libc/stdlib/stdlib.tex | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'newlib/libc/stdlib/stdlib.tex') diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex index d91b3f8d3..9242246db 100644 --- a/newlib/libc/stdlib/stdlib.tex +++ b/newlib/libc/stdlib/stdlib.tex @@ -29,6 +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 * mbstowcs:: Minimal multibyte string to wide string converter * mblen:: Minimal multibyte length * mbtowc:: Minimal multibyte to wide character converter @@ -40,6 +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 * wcstod:: Wide string to double or float * wcstol:: Wide string to long * wcstoll:: Wide string to long long @@ -122,6 +124,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/mblen.def +@page +@include stdlib/mbsnrtowcs.def + @page @include stdlib/mbstowcs.def @@ -152,6 +157,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/strtoull.def +@page +@include stdlib/wcsnrtombs.def + @page @include stdlib/wcstod.def -- cgit v1.2.3