DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

vw_printw(CURSES)


vw_printw -- print formatted output in window

Synopsis

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

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.

References

mvprintw(CURSES), fprintf(S), curses(F), stdarg(M)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005