HPlogo HP-UX Reference Volume 4 of 5 > s

scroll(3X)

CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

scroll — scroll a Curses window

SYNOPSIS

#include <curses.h>

int scroll(WINDOW *win);

DESCRIPTION

The scroll() function scrolls win one line in the direction of the first line.

This function does not change the cursor position. If scrolling is disabled for the current or specified window, this function has no effect.

RETURN VALUE

Upon successful completion, this function returns OK. Otherwise, it returns ERR.

ERRORS

No errors are defined.

SEE ALSO

scrl(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 2.

X/Open Curses, Issue 4

This description has been rewritten for clarity, but otherwise its functionality is identical.

© Hewlett-Packard Development Company, L.P.