Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
curses_pad, newpad, subpad, prefresh, pnoutrefresh — curses pad routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>newpad(int lines, int cols);
subpad(WINDOW *pad, int lines, int cols, int begin_y, int begin_x);
prefresh(WINDOW *pad, int pbeg_y, int pbeg_x, int sbeg_y, int sbeg_x, int smax_y, int smax_x);
pnoutrefresh(WINDOW *pad, int pbeg_y, int pbeg_x, int sbeg_y, int sbeg_x, int smax_y, int smax_x);
is_pad(const WINDOW *pad);
DESCRIPTION
These functions create and display pads on the current screen.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.