scrl(3XC)
NAME
scrl, scroll, wscrl − scroll a window
SYNOPSIS
#include <curses.h>
int scrl(int n);
int scroll(WINDOW ∗win);
int wscrl(WINDOW ∗win, int n);
ARGUMENTS
nnumber and direction of lines to scroll
winpointer to the window in which to scroll
DESCRIPTION
The scroll() function scrolls the window win up one line. The current cursor position is not changed.
The scrl() and wscrl() functions scroll the window stdscr or win up or down n lines, where n is a positive (scroll up) or negative (scroll down) integer.
The scrollok(3XC) function must be enabled for these functions to work.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
SEE ALSO
SunOS 5.6 — Last change: 1 Jun 1996