Namespaces
Variants
Views
Actions

vwprintf, vfwprintf, vswprintf

From cppreference.com
< c‎ | io
Revision as of 17:34, 31 May 2013 by P12bot (Talk | contribs)

 
 
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)
int vfwprintf( FILE* stream, const wchar_t* format, va_list vlist );
(2)
int vswprintf( const wchar_t* buffer, size_t size, const wchar_t* format, va_list vlist );
(3)

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:c/io/dcl list fwprintf
C++ documentation for vwprintf, vfwprintf, vswprintf