##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::vwscanf, std::vfwscanf, std::vswscanf

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

Defined in header `<cwchar>` |  |
int vwscanf( const wchar_t* format, va_list vlist ); | (1) | (since C++11)
int vfwscanf( FILE *stream, const wchar_t* format, va_list vlist ); | (2) | (since C++11)
int vswscanf( const wchar_t* buffer, const wchar_t* format, va_list vlist ); | (3) | (since C++11)

Reads data from the a variety of sources, interprets it according to `format` and stores the results into locations defined by `vlist`.

1) Reads the data from stdin
2) Reads the data from file stream `stream`
3) Reads the data from null-terminated wide string `buffer`

### [edit] Parameters

stream | - | input file stream to read from
buffer | - | pointer to a null-terminated wide string to read from
format | - | pointer to a null-terminated wide string specifying how to read the input.
| This section is incomplete
vlist | - | variable argument list containing the receiving arguments

### [edit] Return value

Number of arguments successfully read, or EOF if failure occurs.

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

wscanf fwscanf swscanf | reads formatted wide character input from stdin, a file stream or a buffer (function) [edit]
C documentation for vwscanf, vfwscanf, vswscanf

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

- Todo without reason
- Todo no example