HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
s
scrl(3X) scrl(3X)
(ENHANCED CURSES)
NAME
scrl, wscrl — enhanced scroll a Curses window functions
SYNOPSIS
#include <curses.h>
int scrl(int n);
int wscrl(WINDOW *win, int n);
DESCRIPTION
The scrl() and wscrl() functions scroll the current or specified window. 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 win-
dow, these functions have no effect.
RETURN VALUE
Upon successful completion, these functions return OK. Otherwise, they return ERR.
ERRORS
No errors are defined.
SEE ALSO
<curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX Release 11i: December 2000 − 1 − Section 3−−831
___
___