Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
field_userptr, set_field_userptr — form libraryLIBRARY
Curses Form Library (libform, -lform)SYNOPSIS
#include <form.h>field_userptr(FIELD *field);
set_field_userptr(FIELD *field, void *ptr);
DESCRIPTION
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.RETURN VALUES
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_OK
- The function was successful.