mvprintw, mvwprintw, printw, wprintw - print formatted output in window
#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, ...);
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.
Upon successful completion, these functions return OK. Otherwise, they return ERR.
No errors are defined.
addnstr(), fprintf() (in the XSH specification), <curses.h>.