vw_printw - print formatted output in window
#include <stdarg.h> #include <curses.h> int vw_printw(WINDOW *, char *, va_list varglist);
The vw_printw() function achieves the same effect as wprintw() using a variable argument list. The third argument is a va_list, as defined in <stdarg.h>.
Upon successful completion, vw_printw() returns OK. Otherwise, it returns ERR.
No errors are defined.
The vw_printw() function is preferred over vwprintw(). The use of the vwprintw() and the vw_printw() 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.
mvprintw(), fprintf() (in the XSH specification), <curses.h>, <stdarg.h> (in the XSH specification).