Everything

swscanf


Inputs data from the specified storage area and converts it according to a format.

[Format]

#include <stdio.h>

#include <wchar.h>

long swscanf(const wchar_t *restrict s, const wchar_t *restrict control [, ptr]...);

[Parameters]

s Storage area containing data to be input

control Pointer to wide string indicating format

ptr,... Pointer to storage area that stores input and converted data

[Return values]

Normal: Number of data items successfully input and converted

Abnormal: EOF

[Remarks]

The swscanf is the wide-character version of the sscanf function.