Difference between revisions of "c/io/vfwprintf"
From cppreference.com
(+see cpp) |
(use li, see also fix) |
||
Line 3: | Line 3: | ||
{{ddcl list begin}} | {{ddcl list begin}} | ||
{{ddcl list header | wchar.h}} | {{ddcl list header | wchar.h}} | ||
− | {{ddcl list item | num=1 | | + | {{ddcl list item | num=1 | |
− | int vwprintf( const wchar_t* format, va_list vlist ); | + | int vwprintf( const wchar_t* format, va_list vlist ); |
}} | }} | ||
{{ddcl list item | num=2 | | {{ddcl list item | num=2 | | ||
Line 16: | Line 16: | ||
Loads the data from locations, defined by {{tt|vlist}}, converts them to wide string equivalents and writes the results to a variety of sinks. | Loads the data from locations, defined by {{tt|vlist}}, converts them to wide string equivalents and writes the results to a variety of sinks. | ||
− | 1 | + | {{li begin}} |
− | + | {{li|1}} Writes the results to {{c|stdout}}. | |
− | 2 | + | {{li|2}} Writes the results to a file stream {{tt|stream}}. |
− | + | {{li|3}} Writes the results to a wide string {{tt|buffer}}. | |
− | 3 | + | {{li end}} |
===Parameters=== | ===Parameters=== | ||
Line 26: | Line 26: | ||
===Return value=== | ===Return value=== | ||
− | |||
Number of wide characters written if successful or negative value if an error occurred. | Number of wide characters written if successful or negative value if an error occurred. | ||
Line 38: | Line 37: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
{{dcl list template | c/io/dcl list fwprintf}} | {{dcl list template | c/io/dcl list fwprintf}} | ||
− | {{dcl list see cpp | cpp/io/c/vfwprintf}} | + | {{dcl list see cpp | cpp/io/c/vfwprintf | vwprintf | vfwprintf | vswprintf}} |
{{dcl list end}} | {{dcl list end}} |
Revision as of 08:48, 14 May 2012
Template:c/io/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<wchar.h>
<td></td> <td></td> </tr> <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, 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
This section is incomplete |
Return value
Number of wide characters written if successful or negative value if an error occurred.
Example
This section is incomplete Reason: no example |
See also
C++ documentation for vwprintf, vfwprintf, vswprintf
|