| FORMS(3) | Library Functions Manual | FORMS(3) |
form_userptr,
set_form_userptr — form
library
Curses Form Library (libform, -lform)
#include
<form.h>
void *
form_userptr(FORM
*form);
int
set_form_userptr(FORM
*form, void
*ptr);
The
form_userptr()
function returns the pointer to the user defined data associated with the
form, this pointer may be set using the
set_form_userptr()
call.
Functions returning pointers will return
NULL if an error is detected. The functions that
return an int will return one of the following error values:
E_OKThe header
<form.h> automatically
includes both <curses.h> and
<eti.h>.
| January 1, 2001 | NetBSD 11.0 |