Go to main content

man pages section 3: Curses Library Functions

Exit Print View

Updated: July 2017
 
 

form_data(3CURSES)

Name

form_data, data_ahead, data_behind - tell if forms field has off-screen data ahead or behind

Synopsis

cc [ flag ... ] file ... –lform  –lcurses [ library .. ]
#include <form.h>



int data_ahead(FORM *form);
int data_behind(FORM *form);

Description

data_ahead() returns TRUE (1) if the current field has more off-screen data ahead; otherwise it returns FALSE (0).

data_behind() returns TRUE (1) if the current field has more off-screen data behind; otherwise it returns FALSE (0).

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See Also

curses(3CURSES), forms(3CURSES), attributes(5)

Notes

The header <form.h> automatically includes the headers <eti.h> and <curses.h>.