3 \fBprintw\fR, \fBwprintw\fR, \fBmvprintw\fR,
4 \fBmvwprintw\fR, \fBvwprintw\fR - print formatted output in
7 \fB#include <curses.h>\fR
9 \fBint printw(char *fmt\fR [\fB, arg\fR] \fB...);\fR
11 \fBint wprintw(WINDOW *win, char *fmt\fR [\fB, arg\fR] \fB...);\fR
13 \fBint mvprintw(int y, int x, char *fmt\fR [\fB, arg\fR] \fB...);\fR
15 \fBint mvwprintw(WINDOW *win, int y, int x,
16 \fBchar *fmt\fR [\fB, arg]\fR ...);
18 \fB#include <varargs.h>\fR
20 \fBint vwprintw(WINDOW *win, char *fmt, varglist);\fR
23 The \fBprintw\fR, \fBwprintw\fR, \fBmvprintw\fR and \fBmvwprintw\fR
24 routines are analogous to \fBprintf\fR [see \fBprintf\fR(3S)]. In
25 effect, the string that would be output by \fBprintf\fR is output
26 instead as though \fBwaddstr\fR were used on the given window.
28 The \fBvwprintw\fR routine is analogous to \fBvprintf\fR [see
29 \fBprintf\fR(3S)] and performs a \fBwprintw\fR using a variable
30 argument list. The third argument is a \fBva_list\fR, a pointer to a
31 list of arguments, as defined in \fB<varargs.h>\fR.
33 Routines that return an integer return \fBERR\fR upon failure and \fBOK\fR
34 (SVr4 only specifies "an integer value other than \fBERR\fR") upon successful
37 The XSI Curses standard, Issue 4 describes these functions. The function
38 \fBvwprintw\fR is marked TO BE WITHDRAWN, and is to be replaced by a function
39 \fBvw_printw\fR using the \fB<stdarg.h>\fR interface.
41 \fBcurses\fR(3X), \fBprintf\fR(3S), \fBvprintf(3S)\fR
43 .\"# The following sets edit modes for GNU EMACS