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_touch, touchline, touchoverlap, touchwin, untouchwin, wtouchln, is_linetouched, is_wintouched, redrawwin, wredrawln, syncok, wsyncup, wsyncdown — curses window modification routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>touchline(WINDOW *win, int start, int count);
touchoverlap(WINDOW *win1, WINDOW *win2);
touchwin(WINDOW *win);
untouchwin(WINDOW *win);
wtouchln(WINDOW *win, int line, int n, boolf changed);
is_linetouched(WINDOW *win, int line);
is_wintouched(WINDOW *win);
redrawwin(WINDOW *win);
wredrawln(WINDOW *win, int line, int n);
syncok(WINDOW *win);
wsyncup(WINDOW *win);
wsyncdown(WINDOW *win);
DESCRIPTION
These functions mark lines and windows as modified and check the modification status of lines and windows.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.