7.24.2.12 The wscanf function

Synopsis

1

#include <wchar.h>
int wscanf(const wchar_t * restrict format, ...);

Description

2

The wscanf function is equivalent to fwscanf with the argument stdin interposed before the arguments to wscanf.

Returns

3

The wscanf function returns the value of the macro EOF if an input failure occurs before any conversion. Otherwise, the wscanf function returns the number of input items assigned, which can be fewer than provided for, or even zero, in the event of an early matching failure.