X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fform_variables.3x;h=7b11a1ab77e8172f6bf55ee9e3c1e96b6800c39e;hb=HEAD;hp=7760de2464b20ddc99c06f00122f4d9900e63161;hpb=8d3ea9021573747ecd129228ba7782a03243f62c;p=ncurses.git diff --git a/man/form_variables.3x b/man/form_variables.3x index 7760de24..7b11a1ab 100644 --- a/man/form_variables.3x +++ b/man/form_variables.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 2010-2013,2017 Free Software Foundation, Inc. * +.\" Copyright 2020-2023,2024 Thomas E. Dickey * +.\" Copyright 2010-2013,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,36 +27,33 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form_variables.3x,v 1.5 2017/11/20 00:59:21 tom Exp $ -.TH form_variables 3X "" -.na -.hy 0 +.\" $Id: form_variables.3x,v 1.18 2024/03/16 15:35:01 tom Exp $ +.TH form_variables 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" .SH NAME -\fBTYPE_ALNUM\fR, -\fBTYPE_ALPHA\fR, -\fBTYPE_ENUM\fR, -\fBTYPE_INTEGER\fR, -\fBTYPE_IPV4\fR, -\fBTYPE_NUMERIC\fR, -\fBTYPE_REGEXP\fR -\- form system global variables -.ad -.hy +\fB\%TYPE_ALNUM\fP, +\fB\%TYPE_ALPHA\fP, +\fB\%TYPE_ENUM\fP, +\fB\%TYPE_INTEGER\fP, +\fB\%TYPE_IPV4\fP, +\fB\%TYPE_NUMERIC\fP, +\fB\%TYPE_REGEXP\fP \- +form system global variables .SH SYNOPSIS .nf -\fB#include \fR +\fB#include .PP -\fBFIELDTYPE * TYPE_ALNUM;\fR -\fBFIELDTYPE * TYPE_ALPHA;\fR -\fBFIELDTYPE * TYPE_ENUM;\fR -\fBFIELDTYPE * TYPE_INTEGER;\fR -\fBFIELDTYPE * TYPE_IPV4;\fR -\fBFIELDTYPE * TYPE_NUMERIC;\fR -\fBFIELDTYPE * TYPE_REGEXP;\fR +\fBFIELDTYPE * TYPE_ALNUM; +\fBFIELDTYPE * TYPE_ALPHA; +\fBFIELDTYPE * TYPE_ENUM; +\fBFIELDTYPE * TYPE_INTEGER; +\fBFIELDTYPE * TYPE_IPV4; +\fBFIELDTYPE * TYPE_NUMERIC; +\fBFIELDTYPE * TYPE_REGEXP; .fi .SH DESCRIPTION These are building blocks for the form library, -defining fields that can be created using \fBset_fieldtype\fP(3X). +defining fields that can be created using +the \fBform_fieldtype\fP(3X) functions. Each provides functions for field- and character-validation, according to the given datatype. .SS TYPE_ALNUM @@ -76,4 +74,4 @@ This holds a regular expression. The \fBTYPE_IPV4\fP variable is an extension not provided by older implementations of the form library. .SH SEE ALSO -\fBform\fR(3X). +\fB\%form\fP(3X)