int vw_printw(WINDOW *, char *, va_list varglist);
Description
The
vw_printw(CURSES)
function achieves the same effect as
wprintw(CURSES)
using a variable argument list. The third argument is a va_list, as
defined in
<stdarg.h>.
Return value
Upon successful completion,
vw_printw(CURSES)
returns OK. Otherwise, it returns ERR.
Errors
No errors are defined.
Usage
The
vw_printw(CURSES)
function is preferred over
vwprintw(CURSES).
The use of the
vwprintw(CURSES)
and the
vw_printw(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.