X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_printw.3x.html;h=1a357f31998bee2c869272c266a9e0e316a3b621;hp=3153059ac5a3382fb7dbbf6664ac0870f5732b65;hb=29a36e53e1f77a0c3672f2e267d573823d6a9a60;hpb=71c0306f0824ef2b10c4c5813fb003db48f3012e diff --git a/doc/html/man/curs_printw.3x.html b/doc/html/man/curs_printw.3x.html index 3153059a..1a357f31 100644 --- a/doc/html/man/curs_printw.3x.html +++ b/doc/html/man/curs_printw.3x.html @@ -1,4 +1,3 @@ - +
+ +- curs_printw(3x) curs_printw(3x) --
+
printw, wprintw, mvprintw, mvwprintw, vwprintw, vw_printw - print formatted output in curses windows --
+
#include <curses.h> int printw(const char *fmt, ...); @@ -66,22 +64,20 @@ glist); --
+
The printw, wprintw, mvprintw and mvwprintw routines are - analogous to printf [see printf(3)]. In effect, the + analogous to printf [see printf(3)]. In effect, the string that would be output by printf is output instead as though waddstr were used on the given window. The vwprintw and wv_printw routines are analogous to - vprintf [see printf(3)] and perform a wprintw using a + vprintf [see printf(3)] and perform a wprintw using a variable argument list. The third argument is a va_list, a pointer to a list of arguments, as defined in <stdarg.h>. --
+
Routines that return an integer return ERR upon failure and OK (SVr4 only specifies "an integer value other than ERR") upon successful completion. @@ -91,9 +87,12 @@ enough memory for the buffer used to format the results. It will return an error if the window pointer is null. + Functions with a "mv" prefix first perform a cursor move- + ment using wmove, and return an error if the position is + outside the window, or if the window pointer is null. --
+ +
The XSI Curses standard, Issue 4 describes these func- tions. The function vwprintw is marked TO BE WITHDRAWN, and is to be replaced by a function vw_printw using the @@ -105,18 +104,22 @@ is included in <curses.h>. --
- curses(3x), printf(3), vprintf(3) +
+ curses(3x), printf(3), vprintf(3) curs_printw(3x)-