Namespaces
Variants
Views
Actions

Difference between revisions of "c/io/vfwprintf"

From cppreference.com
< c‎ | io
m (Update links.)
m (c95)
Line 3: Line 3:
 
{{dcl begin}}
 
{{dcl begin}}
 
{{dcl header | wchar.h}}
 
{{dcl header | wchar.h}}
{{dcl | num=1 |
+
{{dcl | num=1 |notes={{mark since c95}}|
 
int vwprintf( const wchar_t* format, va_list vlist );
 
int vwprintf( const wchar_t* format, va_list vlist );
 
}}
 
}}
{{dcl | num=2 |
+
{{dcl | num=2 |notes={{mark since c95}}|
 
int vfwprintf( FILE* stream, const wchar_t* format, va_list vlist );
 
int vfwprintf( FILE* stream, const wchar_t* format, va_list vlist );
 
}}
 
}}
{{dcl | num=3 |
+
{{dcl | num=3 |notes={{mark since c95}}|
 
int vswprintf( const wchar_t* buffer, size_t size, const wchar_t* format, va_list vlist );
 
int vswprintf( const wchar_t* buffer, size_t size, const wchar_t* format, va_list vlist );
 
}}
 
}}

Revision as of 13:18, 18 December 2014

 
 
File input/output
Types and objects
Functions
File access
Direct input/output
Unformatted input/output
(C95)(C95)
(C95)
(C95)(C95)
(C95)
(C95)
Formatted input
(C99)(C99)(C99)(C11)(C11)(C11)     
Formatted output
vwprintfvfwprintfvswprintfvwprintf_svfwprintf_svswprintf_svsnwprintf_s
(C95)(C95)(C95)(C11)(C11)(C11)(C11)
File positioning
Error handling
Operations on files
 
Defined in header <wchar.h>
int vwprintf( const wchar_t* format, va_list vlist );
(1) (since C95)
int vfwprintf( FILE* stream, const wchar_t* format, va_list vlist );
(2) (since C95)
int vswprintf( const wchar_t* buffer, size_t size, const wchar_t* format, va_list vlist );
(3) (since C95)

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

prints formatted wide character output to stdout, a file stream or a buffer
(function) [edit]
C++ documentation for vwprintf, vfwprintf, vswprintf