![]() |
![]()
| ![]() |
![]()
NAMETYPE_ALNUM, TYPE_ALPHA, TYPE_ENUM, TYPE_INTEGER, TYPE_IPV4, TYPE_NUMERIC, TYPE_REGEXP - 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; DESCRIPTIONThese 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_ALNUMThis holds alphanumeric data. TYPE_ALPHAThis holds alphabetic data. TYPE_ENUMThis holds an enumerated type. TYPE_INTEGERThis holds a decimal integer. TYPE_IPV4This holds an IPv4 internet address, e.g., "127.0.0.1". TYPE_NUMERICThis holds a decimal number, with optional sign and decimal point. TYPE_REGEXPThis holds a regular expression. PORTABILITYThe TYPE_IPV4 variable is an extension not provided by older implementations of the form library. SEE ALSOform(3X)
|