| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
to get rid of restrict qualifier discarding. This lets libc compile
cleanly in gnu99 mode.
Suggested by: kib, christoph.mallon at gmx.de
Approved by: kib (mentor)
|
|
|
|
|
|
|
| |
convenient when the source string isn't null-terminated.
Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(),
wcsrtombs()) in terms of these new functions.
|
|
|
|
|
| |
mbsrtowcs() and wcsrtombs(). Provide a fast implementation for the
trivial "NONE" encoding.
|
|
|
|
| |
(This change is non-functional since nothing uses states yet.)
|
|
|
|
|
| |
taking shortcuts when it comes to storing and passing around conversion
states.
|
|
|
|
| |
as a wrapper around wcsrtombs().
|
| |
|
| |
|
| |
|
|
|
|
| |
wcstombs().
|
|
|
|
|
|
|
| |
NULL, and returns the number of bytes that would be required to store
the result of the conversion without storing anything.
PR: 17694
|
|
|