form\_data(3X) Library calls form\_data(3X)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

```
bool data_ahead(const FORM *form);
bool data_behind(const FORM *form);
```

# [DESCRIPTION](#DESCRIPTION)

The function **data\_ahead** tests whether there is off-screen data ahead in the given form. It returns [TRUE (1)](/man/os/ncurses/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)](/man/os/ncurses/TRUE.1) or FALSE (0).

# [PORTABILITY](#PORTABILITY)

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

# [AUTHORS](#AUTHORS)

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

# [SEE ALSO](#SEE_ALSO)

[**curses**(3X)](/man/os/ncurses/curses.3X), [**form**(3X)](/man/os/ncurses/form.3X)

2024-03-16 ncurses 6.6

---

Document: data_behind(3x) from ncurses 6.6.20261010-r0 (Chainguard OS)
Source: https://github.com/ThomasDickey/ncurses-snapshots
