srcl, wscrl, scrol [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
srcl, wscrl, scrol
The srcl set of routines is used to scroll a window.
Syntax
#include <curses.h>
int scrl (int n);
int wscrl (WINDOW *win, int n);
int scroll (WINDOW *win);
Parameters
win A pointer to the window in which to scroll.
n The number and direction of lines to scroll.
Return Values
OK Successful completion.
ERR An error occurred.
Description
The scroll() routine scrolls the window win up one line. The current
cursor position is not changed.
The scrl() and wscrl() routines scroll the window stdscr or win up or
down n lines, where n is a positive or negative integer, respectively.
The scrollok() routine must be enabled for these routines to work.
NOTE The scroll() and scrl() routines are macros.
Implementation Considerations
The scroll() routine is identical to XPG/3. The wscrl() and scrl()
routines are UNIX System V implementations.
See Also
scrollok(), waddch()
Portability
The scroll() routine conforms to HP-UX, UNIX System V, and XPG/3. The
wscrl() and scrl() routines conform to UNIX System V.
MPE/iX 5.0 Documentation