Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S

scroll(3X)

CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » 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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.