Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
form_userptr, set_form_userptr — form libraryLIBRARY
Curses Form Library (libform, -lform)SYNOPSIS
#include <form.h>form_userptr(FORM *form);
set_form_userptr(FORM *form, void *ptr);
DESCRIPTION
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.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.