---
name: "data"
section: "3form"
platform: "linux"
package: "ncurses-doc"
version: "6.5+20250216-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/data/3form"
---

# data(3form)

test for off-screen data in given forms

## NAME

**data\_ahead**, **data\_behind** - test for off-screen data in given forms

## SYNOPSIS

```
#include <form.h>
```

**bool data\_ahead(const FORM \****form***);** **bool data\_behind(const FORM \****form***);**

## DESCRIPTION

**The function data\_ahead tests whether there is off-screen data** **ahead in the given form.** **It returns TRUE (1) or FALSE (0).**

**The function data\_behind tests whether there is off-screen data** **behind in the given form.** **It returns TRUE (1) or FALSE (0).**

## PORTABILITY

**These routines emulate the System V forms library.** **They were not supported on** **Version 7 or BSD versions.**

## AUTHORS

**Juergen Pfeifer.** **Manual pages and adaptation for new curses by Eric S. Raymond.**

## SEE ALSO

**ncurses(3NCURSES),** **form(3FORM)**
