##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

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

From cppreference.com
< cpp‎ | io‎ | c

Defined in header `<cwchar>` |  |
int vwprintf( const wchar_t* format, va_list vlist ); | (1) |
int vfwprintf( std::FILE* stream, const wchar_t* format, va_list vlist ); | (2) |
int vswprintf( const wchar_t* buffer, std::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`.

### [edit] Parameters

| This section is incomplete

### [edit] Return value

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

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/c/vfwprintf&oldid=67599"
Categories:

- Todo without reason
- Todo no example