scroll(3cur)scroll(3cur)Namescroll - scroll window
Syntax
#include <cursesX.h>
int scroll(win)
WINDOW ∗win;
Description
The window is scrolled up one line. This involves moving the lines in
the window data structure.
You would not normally use this routine as the terminal scrolls auto‐
matically if is enabled. A typical case where might be used is with a
screen editor.
Return Values
The function returns OK on success and ERR on error.
See Alsoscrollok(3cur)scroll(3cur)