summaryrefslogtreecommitdiffstats
path: root/lib/libform/form_field_validation.3
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-12-03 05:42:24 +0000
committermillert <millert@openbsd.org>1997-12-03 05:42:24 +0000
commit1e5d079f584a9478c6051e8e9132eb0d05928ade (patch)
treeb925951a3f8fef84f0dd3e30cf2f0cc072279d20 /lib/libform/form_field_validation.3
parentMerge of ncurses-4.1-971129 (diff)
downloadwireguard-openbsd-1e5d079f584a9478c6051e8e9132eb0d05928ade.tar.xz
wireguard-openbsd-1e5d079f584a9478c6051e8e9132eb0d05928ade.zip
3X -> 3
Diffstat (limited to 'lib/libform/form_field_validation.3')
-rw-r--r--lib/libform/form_field_validation.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libform/form_field_validation.3 b/lib/libform/form_field_validation.3
index 863855429c6..834566906db 100644
--- a/lib/libform/form_field_validation.3
+++ b/lib/libform/form_field_validation.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: form_field_validation.3,v 1.3 1997/12/03 05:40:05 millert Exp $
'\" t
-.TH form_field_validation 3X ""
+.\" $OpenBSD: form_field_validation.3,v 1.4 1997/12/03 05:46:31 millert Exp $
+.TH form_field_validation 3 ""
.SH NAME
\fBform_field_validation\fR - data type validation for fields
.SH SYNOPSIS
@@ -55,7 +55,7 @@ For details of the precision handling see \fBprintf's\fR man-page.
TYPE_REGEXP
Regular expression data. Requires a regular expression \fB(char *)\fR third argument;
the data is valid if the regular expression matches it. Regular expressions
-are in the format of \fBregcomp\fR(3x) and \fBregexec\fR(3X). Please notice
+are in the format of \fBregcomp\fR(3x) and \fBregexec\fR(3). Please notice
that the regular expression must match the whole field. If you have for
example an eight character wide field, a regular expression "^[0-9]*$" always
means that you have to fill all eight positions with digits. If you want to
@@ -71,7 +71,7 @@ itself is not validated. Please note that this is an ncurses extension. This
field type may not be available in other curses implementations.
It is possible to set up new programmer-defined field types. See the
-\fBform_fieldtype\fR(3X) manual page.
+\fBform_fieldtype\fR(3) manual page.
.SH RETURN VALUE
The functions \fBfield_type\fR and \fBfield_arg\fR return \fBNULL\fR on
error. The function \fBset_field_type\fR returns one of the following:
@@ -82,7 +82,7 @@ The routine succeeded.
\fBE_SYSTEM_ERROR\fR
System error occurred (see \fBerrno\fR).
.SH SEE ALSO
-\fBcurses\fR(3X), \fBform\fR(3X).
+\fBcurses\fR(3), \fBform\fR(3).
.SH NOTES
The header file \fB<form.h>\fR automatically includes the header file
\fB<curses.h>\fR.