logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

set_new_page, new_page - form pagination functions

Authors

       Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S. Raymond.

Description

       The function set_new_page sets or resets a flag marking the given field as the beginning of a new page on
       its form.

       The function new_page is a predicate which tests if a given field marks a page beginning on its form.

Name

set_new_page, new_page - form pagination functions

Portability

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

Return Value

       The function new_page returns TRUE or FALSE.

       The function set_new_page returns one of the following:

       E_OK The routine succeeded.

       E_CONNECTED
            The given field is already connected to a form.

See Also

ncurses(3NCURSES)  and  related  pages  whose  names begin “form_” for detailed descriptions of the entry
       points.

ncurses 6.5                                        2024-03-16                                    new_page(3FORM)

Synopsis

#include<form.h>intset_new_page(FIELD*field,boolnew_page_flag);boolnew_page(constFIELD*field);

See Also