vwprintw(3curses)


vwprintw -- print formatted output in window (TO BE WITHDRAWN)

Synopsis

cc [options] file -lcurses
#include <varargs.h>
#include <curses.h>

int vwprintw(WINDOW *, char *, va_list varglist);

Description

The vwprintw(3curses) function achieves the same effect as wprintw(3curses) using a variable argument list. The third argument is a va_list, as defined in <varargs.h>.

Return value

Upon successful completion, vwprintw(3curses) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Usage

The vwprintw(3curses) function is deprecated because it relies on deprecated functions in the XSH specification. The vw_printw(3curses) function is preferred. The use of the vwprintw(3curses) and the vw_printw(3curses) 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.

References

mvprintw(3curses), fprintf(3S), vw_printw(3curses), curses(4), varargs(5)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004