7 ms·
C99 also introduced swprintf for wide char strings, with a different return value convention. Just to add to the pain when you change char to wchar. Under swpr
by kazinator 8y ago
C99 also introduced swprintf for wide char strings, with a different return value convention. Just to add to the pain when you change char to wchar.
Under swprintf, and related functions, %s still takes a char pointer, not wchar_t! So when you make everything wide, you have to edit all the %s to %ls.