https://invisible-island.net/ncurses/man/
form_variables(3x) Library calls form_variables(3x)
TYPE_ALNUM, TYPE_ALPHA, TYPE_ENUM, TYPE_INTEGER, TYPE_IPV4, TYPE_NUMERIC, TYPE_REGEXP - form system global variables
#include <form.h> FIELDTYPE * TYPE_ALNUM; FIELDTYPE * TYPE_ALPHA; FIELDTYPE * TYPE_ENUM; FIELDTYPE * TYPE_INTEGER; FIELDTYPE * TYPE_IPV4; FIELDTYPE * TYPE_NUMERIC; FIELDTYPE * TYPE_REGEXP;
These are building blocks for the form library, defining fields that can be created using the form_fieldtype(3x) functions. Each provides functions for field- and character-validation, according to the given datatype.
This holds alphanumeric data.
This holds alphabetic data.
This holds an enumerated type.
This holds a decimal integer.
This holds an IPv4 internet address, e.g., "127.0.0.1".
This holds a decimal number, with optional sign and decimal point.
This holds a regular expression.
The TYPE_IPV4 variable is an extension not provided by older implementations of the form library.
form(3x) ncurses 6.5 2024-03-16 form_variables(3x)