Namespaces
Variants
Views
Actions

Talk:c/io/vfwprintf

From cppreference.com

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.

--66.117.193.162 13:50, 29 January 2013 (PST)

You are right, thank you for pointing out the omission. --Cubbi 18:57, 29 January 2013 (PST)