HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)
v
vwscanf(3S) vwscanf(3S)
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.
SEE ALSO
fwscanf(3C), stdarg(5), thread_safety(5).
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 641