---
name: "poll_scroll"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/poll_scroll"
---

# poll\_scroll(3alleg)

Checks the status of a scroll request with triple buffering. Allegro game programming library.

## NAME

poll\_scroll - Checks the status of a scroll request with triple buffering. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int poll\_scroll();**

## DESCRIPTION

This function is used for triple buffering. It checks the status of a  hardware scroll previously initiated by the request\_scroll() routine.

## RETURN VALUE

Returns non-zero if it is still waiting to take place, and zero if the requested scroll has already happened.

## SEE ALSO

[**request\_scroll**(3alleg)](/request_scroll/3alleg.md), [**request\_video\_bitmap**(3alleg)](/request_video_bitmap/3alleg.md), [**ex3buf**(3alleg)](/ex3buf/3alleg.md), [**exupdate**(3alleg)](/exupdate/3alleg.md)
