NAME
vwscanf(), vfwscanf(), vswscanf() — convert formatted wide-character input of a stdarg argument list
SYNOPSIS
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
int vwscanf(const wchar_t *__restrict format, va_list ap);
int vfwscanf(FILE *__restrict stream, const wchar_t *__restrict format,
va_list ap);
int vswscanf(wchar_t *__restrict ws, const wchar_t *__restrict format,
va_list ap);
DESCRIPTION
The
vwscanf(),
vfwscanf(),
and
vswscanf()
functions are equivalent to the
wscanf(),
fwscanf(),
and
swscanf()
functions respectively, except that instead of being called with a
variable number of arguments, they are called with an argument list pointer
ap
of type
va_list
as defined by
<stdarg.h>.
These functions do not invoke the
va_end
macro.
However, since these functions invoke the
va_arg
macro,
the value of
ap
after the return is indeterminate.
APPLICATION USAGE
Applications using these functions should call
va_end
afterwards to clean up.
AUTHOR
vwscanf(),
vfwscanf(),
and
vswscanf()
were developed by HP.