| FORMS(3) | Library Functions Manual | FORMS(3) |
field_userptr,
set_field_userptr — form
library
Curses Form Library (libform, -lform)
#include
<form.h>
void *
field_userptr(FIELD
*field);
int
set_field_userptr(FIELD
*field, void
*ptr);
The
field_userptr()
function returns the pointer to the user defined data for the field, this
pointer may be set by calling the
set_field_userptr()
function.
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 |