vfwscanf(3S) SDK R4.11 vfwscanf(3S)
NAME
vfwscanf, vwscanf, vswscanf - convert formatted wide character input
of a variable argument list
SYNOPSIS
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
int vfwscanf(FILE *stream, const wchart *format, valist arg);
int vwscanf(const wchart *format, valist arg);
int vswscanf(wchart s, const wchart *format,valist arg);
DESCRIPTION
vfwscanf is equivalent to fwscanf, with the variable argument list
replaced by an arg that has been initialized by the vastart macro.
vwscanf is equivalent to wscanf, with the variable argument list
replaced by an arg that has been initialized by the vastart macro.
vswscanf is equivalent to swscanf, with the variable argument list
replaced by an arg that has been initialized by the vastart macro.
None of these functions invoke vaend on the passed arg. If copying
takes place between objects that overlap, the behavior is undefined.
Errors
vfwscanf, vwscanf and vswscanf return the number of wide characters
transmitted or return a negative value if an error was encountered.
REFERENCES
fwscanf(3S), scanf(3S), setlocale(3C), stdio(3S), write(2)
Licensed material--property of copyright holder(s)