vwprintw(3X) vwprintw(3X)
NAME
vwprintw - print formatted output in window
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <varargs.h>
#include <curses.h>
int vwprintw(WINDOW *, char *, valist varglist);
DESCRIPTION
The vwprintw() function achieves the same effect as wprintw() using a
variable argument list. The third argument is a valist, as defined in
<varargs.h> [see varargs(5)].
RETURN VALUE
Upon successful completion, vwprintw() returns OK. Otherwise, it
returns ERR.
ERRORS
No errors are defined.
NOTES
The vwprintw() function is deprecated because it relies on deprecated
functions in the XSH specification. The vwprintw() function is pre-
ferred. The use of the vwprintw() and the vwprintw() functions in the
same file will not work, due to the requirement to include varargs.h
and stdarg.h which both contain definitions of valist.
SEE ALSO
fprintf(3S), curses(3X), mvprintw(3X), vwprintw(3X), curses(5),
varargs(5).
Page 1 Reliant UNIX 5.44 Printed 11/98