mvprintw(3X) mvprintw(3X)
NAME
mvprintw, mvwprintw, printw, wprintw - print formatted output in win-
dow
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#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
fprintf(3S), addnstr(3X), curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98