printw - print formatted output in the current window
#include <curses.h> int printw(char *fmt, ...);
Refer to mvprintw().