vw_scanw - convert formatted input from a window
#include <stdarg.h> #include <curses.h> int vw_scanw(WINDOW *, char *, va_list varflist);
The vw_scanw() function achieves the same effect as wscanw() using a variable argument list. The third argument is a va_list, as defined in <stdarg.h>.
Upon successful completion, vw_scanw() returns OK. Otherwise, it returns ERR.
No errors are defined.
The vw_scanw() function is preferred over vwscanw(). The use of the vwscanw() and the vw_scanw() 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.
fscanf() (in the XSH specification), mvscanw(), <curses.h>, <stdarg.h> (in the XSH specification).