:man| Alphabetical   Categories   About us 
 
form_new (3X) | C library functions | Unix Manual Pages | :man

NAME

form_new - create and destroy forms

CONTENTS

Synopsis
Description
Return Value
See Also
Notes
Portability
Authors

SYNOPSIS

#include <form.h>
FORM *new_form(FIELD **fields);
int free_form(FORM *form);

DESCRIPTION

The function new_form creates a new form connected to a specified field pointer array (which must be NULL-terminated).

The function free_form disconnects form from its field array and frees the storage allocated for the form.

RETURN VALUE

The function new_form returns NULL on error.

The function free_form returns one of the following:

-->
E_OK The routine succeeded.
E_SYSTEM_ERROR
System error occurred (see errno).
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_POSTED
The form has already been posted.

SEE ALSO

curses(3), form(3).

NOTES

PORTABILITY

AUTHORS

 
Created by Blin Media, 2008-2013