The
vw_scanw(CURSES)
function achieves the same effect as
wscanw(CURSES)
using a variable argument list. The third argument is a va_list, as
defined in stdarg.h.
Return value
Upon successful completion,
vw_scanw(CURSES)
returns OK.
Otherwise, it returns ERR.
Errors
No errors are defined.
Usage
The
vw_scanw(CURSES)
function is preferred over
vwscanw(CURSES).
The use of the
vwscanw(CURSES)
and the
vw_scanw(CURSES)
functions in the same file will not work, due to the requirement to
include varargs.h and stdarg.h which both contain
definitions of va_list.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.