NAME
scroll — scroll a Curses window
SYNOPSIS
#include <curses.h>
int scroll(WINDOW *win);
DESCRIPTION
The
scroll()
function scrolls win one line in the direction of the first line.
This function does not change the cursor position. If scrolling is disabled
for the current or specified window, this function has no effect.
RETURN VALUE
Upon successful completion, this function returns OK.
Otherwise, it returns ERR.
ERRORS
No errors are defined.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
This description has been rewritten for clarity, but otherwise
its functionality is identical.