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

 NAME

vw_printw - print formatted output in window

 SYNOPSIS



#include <stdarg.h>
#include <curses.h>

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

 DESCRIPTION

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

 RETURN VALUE

Upon successful completion, vw_printw() returns OK. Otherwise, it returns ERR.

 ERRORS

No errors are defined.

 APPLICATION USAGE

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.

 SEE ALSO

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 ]