data(3FORM)

πŸ’– data(3FORM) πŸ’–

okay bestie, so this is a Library calls moment, and it's giving "is there stuff hiding off the edge of my form" energy. two little functions, one big vibe check. let's go πŸ¦‹


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

πŸ’… DESCRIPTION πŸ’…

so like. data_ahead does a little peek and tests whether there is off-screen data ahead in the given form. it returns TRUE (1) or FALSE (0). that's it, that's the whole job 🫢

and data_behind? same energy, opposite direction. it tests whether there is off-screen data behind in the given form. it also returns TRUE (1) or FALSE (0). iconic. no notes πŸ‘‘


🌈 PORTABILITY 🌈

ngl these routines emulate the System V forms library. they were not supported on Version 7 or BSD versions. so if you're on some ancient V7 or BSD situation, bestie, they're just… not there 😭 periodt.


πŸ’œ AUTHORS πŸ’œ

Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. absolute legends, we stan 🌟


πŸŽ€ SEE ALSO πŸŽ€

  • ncurses(3NCURSES)
  • form(3FORM)

okay that's the whole page!! ncurses 6.6, dated 2024-03-16 β€” go forth and vibe check your forms, bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from