Query: set_field_userptr
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FORMS(3) BSD Library Functions Manual FORMS(3)NAMEfield_userptr, set_field_userptr -- form libraryLIBRARYCurses Form Library (libform, -lform)SYNOPSIS#include <form.h> void * field_userptr(FIELD *field); int set_field_userptr(FIELD *field, void *ptr);DESCRIPTIONThe 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.RETURN VALUESFunctions 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_OK The function was successful.SEE ALSOcurses(3), forms(3)NOTESThe header <form.h> automatically includes both <curses.h> and <eti.h>.BSDJanuary 1, 2001 BSD