Everything

fwscanf


Inputs data from a stream input/output file and converts it according to a format.

[Format]

#include <stdio.h>

#include <wchar.h>

long fwscanf(FILE *restrict fp, const wchar_t *restrict control [, ptr]...);

[Parameters]

fp File pointer

control Pointer to wide string indicating format

ptr Pointer to storage area that stores input data

[Return values]

Normal: Number of data items successfully input and converted

Abnormal: Input data ends before input data conversion is performed: EOF

[Remarks]

The fwscanf function is the wide-character version of the fscanf function.