3 ms·
I would guess that there's just nothing in the standard which _prevents_ people from changing the locale. So if you want a conforming implementation, you need y
by mort96 5y ago
I would guess that there's just nothing in the standard which _prevents_ people from changing the locale. So if you want a conforming implementation, you need your implementation to work if the programmer changed the locale object directly.
EDIT: Nevermind, sprintf_l isn't part of the C standard, so really they could be implemented however the authors chose.