From dec27025b2daad3680e8bf709cfde743aa01e6ee Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 6 Jul 2007 20:03:28 +0000 Subject: * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul, wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r. * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c. (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and wcstoull_r.c. (CHEWOUT_FILES): Add .def files accordingly. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/stdlib.tex: Add documentation links for above functions. * libc/stdlib/strtoll.c: Fix portability note. * libc/stdlib/strtoull.c: Ditto. * libc/stdlib/wcstol.c: New file. * libc/stdlib/wcstoll.c: New file. * libc/stdlib/wcstoll_r.c: New file. * libc/stdlib/wcstoul.c: New file. * libc/stdlib/wcstoull.c: New file. * libc/stdlib/wcstoull_r.c: New file. --- newlib/libc/stdlib/stdlib.tex | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'newlib/libc/stdlib/stdlib.tex') diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex index 9d19b71a8..acb4894a5 100644 --- a/newlib/libc/stdlib/stdlib.tex +++ b/newlib/libc/stdlib/stdlib.tex @@ -40,6 +40,10 @@ 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 +* wcstol:: Wide string to long +* wcstoll:: Wide string to long long +* wcstoul:: Wide string to unsigned long +* wcstoull:: Wide string to unsigned long long * system:: Execute command string * wcstombs:: Minimal wide string to multibyte string converter * wctomb:: Minimal wide character to multibyte converter @@ -147,6 +151,18 @@ The corresponding declarations are in the header file @file{stdlib.h}. @page @include stdlib/strtoull.def +@page +@include stdlib/wcstol.def + +@page +@include stdlib/wcstoll.def + +@page +@include stdlib/wcstoul.def + +@page +@include stdlib/wcstoull.def + @page @include stdlib/system.def -- cgit v1.2.3