Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
field_arg, field_type, set_field_type — form libraryLIBRARY
Curses Form Library (libform, -lform)SYNOPSIS
#include <form.h>field_arg(FIELD *field);
field_type(FIELD *field);
set_field_type(FIELD *field, FIELDTYPE *type, ...);
DESCRIPTION
The field_arg() function returns the field type arguments that are associated with the given field. The field_type() function returns the field type structure associated with the given field, this type can be set by calling the set_field_type() function which associates the given field type with the field, the third and subsequent parameters are field dependent arguments.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.