form_variables.3x - Man Page
form system global variables
Synopsis
#include <form.h> FIELDTYPE * TYPE_ALNUM; FIELDTYPE * TYPE_ALPHA; FIELDTYPE * TYPE_ENUM; FIELDTYPE * TYPE_INTEGER; FIELDTYPE * TYPE_IPV4; FIELDTYPE * TYPE_NUMERIC; FIELDTYPE * TYPE_REGEXP;
Description
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.
Type_alnum
This holds alphanumeric data.
Type_alpha
This holds alphabetic data.
Type_enum
This holds an enumerated type.
Type_integer
This holds a decimal integer.
Type_ipv4
This holds an IPv4 internet address, e.g., "127.0.0.1".
Type_numeric
This holds a decimal number, with optional sign and decimal point.
Type_regexp
This holds a regular expression.
Portability
The Type_ipv4 variable is an extension not provided by older implementations of the form library.
See Also
form(3X)
Referenced By
The man pages TYPE_ALNUM.3x(3), TYPE_ALPHA.3x(3), TYPE_ENUM.3x(3), TYPE_INTEGER.3x(3), TYPE_IPV4.3x(3), TYPE_NUMERIC.3x(3) and TYPE_REGEXP.3x(3) are aliases of form_variables.3x(3).