I think the prototype for vswprintf() is incorrect. It should be:
int vswprintf( const wchar_t* buffer, size_t n, const wchar_t* format, va_list vlist );
... where the second argument n specifies the maximum number of wide characters to be written, including the ending null character.
--18.104.22.168 13:50, 29 January 2013 (PST)
- You are right, thank you for pointing out the omission. --Cubbi 18:57, 29 January 2013 (PST)