Fprintw
Fprintw is a function in the ncurses library that outputs formatted text to a FILE pointer, integrating the printf-like formatting conventions of ncurses text output. It is part of the ncurses family of print-style functions and provides a means to produce formatted output to standard file streams, not just to on-screen windows.
The function signature is int fprintw(FILE *stream, const char *fmt, ...). It formats the input according to
Fprintw belongs to the print family in ncurses, which also includes printw (to the stdscr window), mvprintw
Usage considerations: like other ncurses functions, fprintw is intended for use within a curses-enabled environment; initialization
Availability: fprintw is part of the ncurses library and is available on Unix-like systems and Windows ports