scrl(3X) scrl(3X)
NAME
scrl, scroll, wscrl - scroll a Curses window
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int scrl(int n);
int scroll(WINDOW *win);
int wscrl(WINDOW *win, int n);
DESCRIPTION
The scroll() function scrolls win one line in the direction of the
first line.
The scrl() and wscrl() functions scroll the current or specified win-
dow. If n is positive, the window scrolls n lines toward the first
line. Otherwise, the window scrolls -n lines toward the last line.
These functions do not change the cursor position. If scrolling is
disabled for the current or specified window, these functions have no
effect. The interaction of these functions with setsccreg() is
currently unspecified.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they
return ERR.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98