form_data(3X)

πŸ’– form_data(3X) β€” the "wait, there's MORE form??" girlies πŸ’–

okay bestie, so this is a library call page from the form corner of the ncurses universe, and it's literally just two little functions that peer around the edges of your form to see if there's anything lurking off-screen πŸ‘€βœ¨


✨ 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);

no cap, that's the whole thing πŸ’…


🌸 DESCRIPTION 🌸

so like, picture your form as a tiny little window into a BIGGER form, right? the screen only shows you so much πŸ‘‘

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). ⭐

that's it. that's the function. it's giving "is there more over there?" and honestly? iconic 🫢


🌈 PORTABILITY 🌈

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

so if you're kicking it old-school on those, bestie… no data_ahead for you 😭


πŸ‘‘ AUTHORS πŸ‘‘

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. πŸŽ€


πŸ’œ SEE ALSO πŸ’œ

  • curses(3X)
  • form(3X)

okay that's the whole page, ily, go check behind your form, mwah πŸ’‹

this was ncurses 6.6, dated 2024-03-16 β€” slay, periodt ✨

πŸ“¦ where this page comes from