Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
curses_window, copywin, dupwin, delwin, derwin, mvwin, mvderwin, newwin, overlay, overwrite, subwin, wresize — curses window routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>copywin(WINDOW *source, WINDOW *dest, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int overlay);
dupwin(WINDOW *win);
derwin(WINDOW *win, int lines, int cols, int y, int x);
delwin(WINDOW *win);
mvwin(WINDOW *win, int y, int x);
mvderwin(WINDOW *win, int y, int x);
newwin(int lines, int cols, int begin_y, int begin_x);
subwin(WINDOW *win, int lines, int cols, int begin_y, int begin_x);
overlay(WINDOW *source, WINDOW *dest);
overwrite(WINDOW *source, WINDOW *dest);
wresize(WINDOW *win, int lines, int cols);
DESCRIPTION
These functions create, modify and delete windows 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.