form_data(3x)

form_data3x

Test for off-screen data in given forms

Usage

#include <form.h>

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

Overview

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.

From ncurses 6.6-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.