* 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.
This commit is contained in:
Corinna Vinschen
2007-07-06 20:03:28 +00:00
parent 4cd2304ab6
commit dec27025b2
13 changed files with 1080 additions and 5 deletions

View File

@ -80,7 +80,7 @@ made, <<0>> is returned.
value is too large, and sets <<errno>> to <<ERANGE>>.
PORTABILITY
<<strtoull>> is nonstandard.
<<strtoull>> is ANSI.
<<strtoull>> requires no supporting OS subroutines.
*/