Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
curses_print, printw, wprintw, mvprintw, mvwprintw, unctrl — curses print formatted strings on windows routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>printw(const char *fmt, ...);
wprintw(WINDOW *win, const char *fmt, ...);
mvprintw(int y, int x, const char *fmt, ...);
mvwprintw(WINDOW *win, int y, int x, const char *fmt, ...);
unctrl(chtype ch);
DESCRIPTION
These functions print formatted strings on stdscr or on the specified window.RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values:- OK
- The function completed successfully.
- ERR
- An error occurred in the function.