Namespaces
Variants
Views
Actions

Talk:c/io/vfwprintf

From cppreference.com
< Talk:c‎ | io
Revision as of 03:39, 9 November 2020 by Space Mission (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

[edit] (8)

There is no (8), while a description of (8) exists. --LittleFlower (talk) 17:34, 30 April 2018 (PDT)

you're right, off-by-one error in "4-7" --Cubbi (talk) 06:14, 1 May 2018 (PDT)
There is also a "Return value" description for (8) - another off-by-one? --80.156.164.36 02:27, 9 November 2020 (PST)
Yet another transmutation was corrected, thanks! :) --Space Mission (talk) 03:39, 9 November 2020 (PST)