Namespaces
Variants
Views
Actions

std::vwprintf, std::vfwprintf, std::vswprintf

From cppreference.com
< cpp‎ | io‎ | c
Revision as of 18:56, 29 January 2013 by Cubbi (Talk | contribs)

 
 
 
C-style I/O
Functions
File access
Direct input/output
Unformatted input/output
Formatted input/output
(C++11)(C++11)(C++11)
vwprintfvfwprintfvswprintf
File positioning
Error handling
Operations on files
 

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <cwchar>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
int vwprintf( const wchar_t* format, va_list vlist );
</td>

<td > (1) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
int vfwprintf( FILE* stream, const wchar_t* format, va_list vlist );
</td>

<td > (2) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
int vswprintf( const wchar_t* buffer, std::size_t size, const wchar_t* format, va_list vlist );
</td>

<td > (3) </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Loads the data from locations, defined by vlist,, converts them to wide string equivalents and writes the results to a variety of sinks.

1) Writes the results to stdout.
2) Writes the results to a file stream stream.
3) Writes the results to a wide string buffer.

Contents

Parameters

Return value

Number of wide characters written if successful or negative value if an error occurred.

Example

See also

Template:cpp/io/c/dcl list fwprintf
C documentation for vwprintf, vfwprintf, vswprintf