1form_variables(3X)                                          form_variables(3X)
2
3
4

NAME

6       TYPE_ALNUM, TYPE_ALPHA, TYPE_ENUM, TYPE_INTEGER, TYPE_IPV4,
7       TYPE_NUMERIC, TYPE_REGEXP - form system global variables
8

SYNOPSIS

10       #include <form.h>
11
12       FIELDTYPE * TYPE_ALNUM;
13       FIELDTYPE * TYPE_ALPHA;
14       FIELDTYPE * TYPE_ENUM;
15       FIELDTYPE * TYPE_INTEGER;
16       FIELDTYPE * TYPE_IPV4;
17       FIELDTYPE * TYPE_NUMERIC;
18       FIELDTYPE * TYPE_REGEXP;
19

DESCRIPTION

21       These are building blocks for the form library,  defining  fields  that
22       can  be  created using the form_fieldtype(3X) functions.  Each provides
23       functions for field- and character-validation, according to  the  given
24       datatype.
25
26   TYPE_ALNUM
27       This holds alphanumeric data.
28
29   TYPE_ALPHA
30       This holds alphabetic data.
31
32   TYPE_ENUM
33       This holds an enumerated type.
34
35   TYPE_INTEGER
36       This holds a decimal integer.
37
38   TYPE_IPV4
39       This holds an IPv4 internet address, e.g., "127.0.0.1".
40
41   TYPE_NUMERIC
42       This holds a decimal number, with optional sign and decimal point.
43
44   TYPE_REGEXP
45       This holds a regular expression.
46

PORTABILITY

48       The  TYPE_IPV4 variable is an extension not provided by older implemenā€
49       tations of the form library.
50

SEE ALSO

52       form(3X).
53
54
55
56                                                            form_variables(3X)
Impressum