HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
m
mvprintw(3X) mvprintw(3X)
(CURSES)
NAME
mvprintw, mvwprintw, printw, wprintw — print formatted output in window
SYNOPSIS
#include <curses.h>
int mvprintw(int y, int x, char *fmt, ...);
int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...);
int printw(char *fmt, ...);
int wprintw(WINDOW *win, char *fmt, ...);
DESCRIPTION
The mvprintw() , mvwprintw() , printw() and wprintw() functions are analogous to
printf(). The effect of these functions is as though sprintf() were used to format the string, and
then waddstr() were used to add that multi-byte string to the current or specified window at the current
or specified cursor position.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they return ERR.
ERRORS
No errors are defined.
SEE ALSO
addnstr(3X), fprintf() (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification),
<curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity and its name is changed from
printw() to mvprintw().
Section 3−−534 − 1 − HP-UX Release 11i: December 2000
___
___