form_new(3X)form_new(3X)NAME
form_new - create and destroy forms
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. It sets errno according to the function's success:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_CONNECTED
The field is already connected to a form.
E_SYSTEM_ERROR
System error occurred, e.g., malloc failure.
The function free_form returns one of the following:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_POSTED
The form has already been posted.
SEE ALSO curses(3X), form(3X).
NOTES
The header file <form.h> automatically includes the header file <curses.h>.
PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
form_new(3X)
Check Out this Related Man Page
form_new(3X)form_new(3X)NAME
form_new - create and destroy forms
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. It sets errno according to the function's success:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_CONNECTED
The field is already connected to a form.
E_SYSTEM_ERROR
System error occurred, e.g., malloc failure.
The function free_form returns one of the following:
E_OK The routine succeeded.
E_BAD_ARGUMENT
Routine detected an incorrect or out-of-range argument.
E_POSTED
The form has already been posted.
SEE ALSO curses(3X), form(3X).
NOTES
The header file <form.h> automatically includes the header file <curses.h>.
PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
form_new(3X)
Man Page
3 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
In regards to this post:
https://www.unix.com/showthread.php?s=&threadid=10372
it may be advisable to inform new members about the repercussions of cross-posting. (9 Replies)
Booting Problem:
Error 25: Disk read error25: Disk read error This error is returned if there is a disk read error when trying to probe or read data from a particular disk.
Does this meant I will have to change my hard drive with a new one or will this be resolved by formatting or wiping out hard... (3 Replies)
hi,
i have created a file system using newfs command in solaris 10, later i got error messages from the database which i am using. May be database using the disk also.
My question is how to remove file system from the disk.
Thanks (7 Replies)