summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/wcstod.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement xlocale APIs from Darwin, mainly for use by libc++. This adds atheraven2011-11-201-9/+28
| | | | | | | | | | | | load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
* Prepare to handle state-dependent encodings. This mainly involves nottjr2004-04-071-6/+6
| | | | | taking shortcuts when it comes to storing and passing around conversion states.
* Don't bother passing a freshly-zeroed mbstate to mbsrtowcs() etc.tjr2003-10-311-23/+10
| | | | | | | when the current implementation won't use it, anyway. Just pass NULL. This will need to be changed when state-dependent encodings are supported, but there's no need to take the performance hit in the meantime.
* Fix a bad free() call that would occur if some #if 0'd code was used.tjr2003-02-221-4/+6
|
* Add wcstod() as a wrapper around strtod(). It does not handle any characterstjr2002-09-151-0/+105
that strtod() does not (alternate digit characters, etc. are not handled).
OpenPOWER on IntegriCloud