3 ms·
Then main drawbacks of sprintf are that it doesn't allow to find the shortest decimal representation and that its output depends on the current locale, so you o
by nwellnhof 8y ago
Then main drawbacks of sprintf are that it doesn't allow to find the shortest decimal representation and that its output depends on the current locale, so you often need something like sprintf_l which isn't portable.
- Bromskloss 8y agoWhy is it not portable?
- rurban 8y agoBecause only very few libc's support it. There should also be a locale independent _sprintf_c somewhen.