diff options
Diffstat (limited to 'ncurses-5.2/doc/html/man/curs_printw.3x.html')
-rw-r--r-- | ncurses-5.2/doc/html/man/curs_printw.3x.html | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/ncurses-5.2/doc/html/man/curs_printw.3x.html b/ncurses-5.2/doc/html/man/curs_printw.3x.html new file mode 100644 index 0000000..95424b3 --- /dev/null +++ b/ncurses-5.2/doc/html/man/curs_printw.3x.html @@ -0,0 +1,78 @@ +<HTML> +<BODY> +<PRE> +<!-- Manpage converted by man2html 3.0.1 --> + +</PRE> +<H2>NAME</H2><PRE> + <B>printw</B>, <B>wprintw</B>, <B>mvprintw</B>, <B>mvwprintw</B>, <B>vwprintw</B>, <B>vw_printw</B> + - print formatted output in <B>curses</B> windows + + +</PRE> +<H2>SYNOPSIS</H2><PRE> + <B>#include</B> <B><curses.h></B> + + <B>int</B> <B>printw(char</B> <B>*fmt</B> [<B>,</B> <B>arg</B>] <B>...);</B> + <B>int</B> <B>wprintw(WINDOW</B> <B>*win,</B> <B>char</B> <B>*fmt</B> [<B>,</B> <B>arg</B>] <B>...);</B> + <B>int</B> <B>mvprintw(int</B> <B>y,</B> <B>int</B> <B>x,</B> <B>char</B> <B>*fmt</B> [<B>,</B> <B>arg</B>] <B>...);</B> + <B>int</B> <B>mvwprintw(WINDOW</B> <B>*win,</B> <B>int</B> <B>y,</B> <B>int</B> <B>x,</B> + <B>char</B> <B>*fmt</B> [<B>,</B> <B>arg]</B> ...); + + <B>#include</B> <B><varargs.h></B> + <B>int</B> <B>vwprintw(WINDOW</B> <B>*win,</B> <B>char</B> <B>*fmt,</B> <B>varglist);</B> + <B>int</B> <B>vw_printw(WINDOW</B> <B>*win,</B> <B>char</B> <B>*fmt,</B> <B>varglist);</B> + + +</PRE> +<H2>DESCRIPTION</H2><PRE> + The <B>printw</B>, <B>wprintw</B>, <B>mvprintw</B> and <B>mvwprintw</B> routines are + analogous to <B>printf</B> [see <B><A HREF="printf.3S.html">printf(3S)</A></B>]. In effect, the + string that would be output by <B>printf</B> is output instead as + though <B>waddstr</B> were used on the given window. + + The <B>vwprintw</B> routine is analogous to <B>vprintf</B> [see + <B><A HREF="printf.3S.html">printf(3S)</A></B>] and performs a <B>wprintw</B> using a variable argu- + ment list. The third argument is a <B>va_list</B>, a pointer to + a list of arguments, as defined in <B><varargs.h></B>. + + +</PRE> +<H2>RETURN VALUE</H2><PRE> + Routines that return an integer return <B>ERR</B> upon failure + and <B>OK</B> (SVr4 only specifies "an integer value other than + <B>ERR</B>") upon successful completion. + + +</PRE> +<H2>PORTABILITY</H2><PRE> + The XSI Curses standard, Issue 4 describes these func- + tions. The function <B>vwprintw</B> is marked TO BE WITHDRAWN, + and is to be replaced by a function <B>vw_printw</B> using the + <B><stdarg.h></B> interface. + + +</PRE> +<H2>SEE ALSO</H2><PRE> + <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="printf.3S.html">printf(3S)</A></B>, <B>vprintf(3S)</B> + + + + + + + + + + + + + +</PRE> +<HR> +<ADDRESS> +Man(1) output converted with +<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a> +</ADDRESS> +</BODY> +</HTML> |