Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
curses_scroll, scrl, wscrl scroll, scrollok, setscrreg, wsetscrreg — curses window scrolling routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>scrl(int n);
wscrl(WINDOW *win, int n);
scroll(WINDOW *win);
scrollok(WINDOW *win, boolf flag);
setscrreg(int top, int bottom);
wsetscrreg(WINDOW *win, int top, int bottom);
DESCRIPTION
These functions scroll areas 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.