| 1 |
'\" t |
| 2 |
.\"*************************************************************************** |
| 3 |
.\" Copyright 2018-2023,2024 Thomas E. Dickey * |
| 4 |
.\" Copyright 1998-2010,2015 Free Software Foundation, Inc. * |
| 5 |
.\" * |
| 6 |
.\" Permission is hereby granted, free of charge, to any person obtaining a * |
| 7 |
.\" copy of this software and associated documentation files (the * |
| 8 |
.\" "Software"), to deal in the Software without restriction, including * |
| 9 |
.\" without limitation the rights to use, copy, modify, merge, publish, * |
| 10 |
.\" distribute, distribute with modifications, sublicense, and/or sell * |
| 11 |
.\" copies of the Software, and to permit persons to whom the Software is * |
| 12 |
.\" furnished to do so, subject to the following conditions: * |
| 13 |
.\" * |
| 14 |
.\" The above copyright notice and this permission notice shall be included * |
| 15 |
.\" in all copies or substantial portions of the Software. * |
| 16 |
.\" * |
| 17 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * |
| 18 |
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * |
| 19 |
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * |
| 20 |
.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * |
| 21 |
.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * |
| 22 |
.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * |
| 23 |
.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * |
| 24 |
.\" * |
| 25 |
.\" Except as contained in this notice, the name(s) of the above copyright * |
| 26 |
.\" holders shall not be used in advertising or otherwise to promote the * |
| 27 |
.\" sale, use or other dealings in this Software without prior written * |
| 28 |
.\" authorization. * |
| 29 |
.\"*************************************************************************** |
| 30 |
.\" |
| 31 |
.\" $Id: form_data.3x,v 1.32 2024/03/16 15:35:01 tom Exp $ |
| 32 |
.TH data 3FORM 2024-03-16 "ncurses 6.6" "Library calls" |
| 33 |
.SH NAME |
| 34 |
\fBdata_ahead\fP, |
| 35 |
\fBdata_behind\fP \- |
| 36 |
test for off-screen data in given forms |
| 37 |
.SH SYNOPSIS |
| 38 |
.nf |
| 39 |
\fB#include <form.h> |
| 40 |
.PP |
| 41 |
\fBbool data_ahead(const FORM *\fIform\fP); |
| 42 |
\fBbool data_behind(const FORM *\fIform\fP); |
| 43 |
.fi |
| 44 |
.SH DESCRIPTION |
| 45 |
The function \fBdata_ahead\fP tests whether there is off-screen data |
| 46 |
ahead in the given form. |
| 47 |
It returns TRUE (1) or FALSE (0). |
| 48 |
.PP |
| 49 |
The function \fBdata_behind\fP tests whether there is off-screen data |
| 50 |
behind in the given form. |
| 51 |
It returns TRUE (1) or FALSE (0). |
| 52 |
.SH PORTABILITY |
| 53 |
These routines emulate the System V forms library. |
| 54 |
They were not supported on |
| 55 |
Version 7 or BSD versions. |
| 56 |
.SH AUTHORS |
| 57 |
Juergen Pfeifer. |
| 58 |
Manual pages and adaptation for new curses by Eric S. Raymond. |
| 59 |
.SH SEE ALSO |
| 60 |
\fB\%ncurses\fP(3NCURSES), |
| 61 |
\fB\%form\fP(3FORM) |