The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


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).

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]