---
name: "poll_scroll"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/poll_scroll/3alleg4"
---

# poll\_scroll(3alleg4)

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**(3alleg4), **request\_video\_bitmap**(3alleg4), **ex3buf**(3alleg4), **exupdate**(3alleg4)
