]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/form_fieldtype.3x
ncurses 6.2 - patch 20201017
[ncurses.git] / man / form_fieldtype.3x
index dd350c2bd8ef14246090f82b78a939eea68045a2..775d1f26480cad3660a75281284368a5679a8884 100644 (file)
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: form_fieldtype.3x,v 1.20 2020/02/02 23:34:34 tom Exp $
+.\" $Id: form_fieldtype.3x,v 1.22 2020/10/17 23:07:47 tom Exp $
 .TH form_fieldtype 3X ""
 .SH NAME
 \fBform_fieldtype\fR \- define validation-field types
 .SH SYNOPSIS
 \fB#include <form.h>\fR
-.br
+.sp
 FIELDTYPE *new_fieldtype(
     bool (* const field_check)(FIELD *, const void *),
     bool (* const char_check)(int, const void *));
 .br
 int free_fieldtype(FIELDTYPE *fieldtype);
-.br
+.sp
 int set_fieldtype_arg(
     FIELDTYPE *fieldtype,
     void *(* const make_arg)(va_list *),
@@ -51,10 +51,9 @@ int set_fieldtype_choice(
     FIELDTYPE *fieldtype,
     bool (* const next_choice)(FIELD *, const void *),
     bool (* const prev_choice)(FIELD *, const void *));
-.br
+.sp
 FIELDTYPE *link_fieldtype(FIELDTYPE *type1,
                           FIELDTYPE *type2);
-.br
 .SH DESCRIPTION
 The function \fBnew_fieldtype\fR creates a new field type usable for data
 validation.
@@ -99,7 +98,7 @@ These functions take the field pointer and an
 argument-block structure as arguments.
 .SH RETURN VALUE
 The pointer-valued routines return NULL on error.
-They set errno according to their success:
+They set \fBerrno\fP according to their success:
 .TP 5
 .B E_OK
 The routine succeeded.