X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fform_fieldtype.3x;h=767c3fcfafcdbe02f56d8e41c99eb42950def67a;hb=HEAD;hp=4063baf018fc22830bc7ba7c5e6e47392cf9535c;hpb=31c4bcf3307145fc5368b4aaf15e41bdd66a984b;p=ncurses.git diff --git a/man/form_fieldtype.3x b/man/form_fieldtype.3x index 4063baf0..81a58b1d 100644 --- a/man/form_fieldtype.3x +++ b/man/form_fieldtype.3x @@ -1,6 +1,5 @@ -'\" t .\"*************************************************************************** -.\" Copyright 2018-2022,2023 Thomas E. Dickey * +.\" Copyright 2018-2023,2024 Thomas E. Dickey * .\" Copyright 1998-2006,2010 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -28,8 +27,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form_fieldtype.3x,v 1.38 2023/09/16 23:37:03 tom Exp $ -.TH form_fieldtype 3X 2023-09-16 "ncurses 6.4" "Library calls" +.\" $Id: form_fieldtype.3x,v 1.46 2024/03/16 15:35:01 tom Exp $ +.TH form_fieldtype 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 @@ -38,27 +37,27 @@ \fBform_fieldtype\fP \- define validation-field types .SH SYNOPSIS -\fB#include \fP -.sp -\fBFIELDTYPE *new_fieldtype(\fP +.nf +\fB#include +.PP +\fBFIELDTYPE *new_fieldtype( \fBbool (* const \fIfield_check\fB)(FIELD *, const void *),\fR \fBbool (* const \fIchar_check\fB)(int, const void *));\fR -.br \fBint free_fieldtype(FIELDTYPE *\fIfieldtype\fB);\fR -.sp +.PP \fBint set_fieldtype_arg(\fP \fBFIELDTYPE *\fIfieldtype\fB,\fR \fBvoid *(* const \fImake_arg\fB)(va_list *),\fR \fBvoid *(* const \fIcopy_arg\fB)(const void *),\fR \fBvoid (* const \fIfree_arg\fB)(void *));\fR -.br \fBint set_fieldtype_choice(\fP \fBFIELDTYPE *\fIfieldtype\fB,\fR \fBbool (* const \fInext_choice\fB)(FIELD *, const void *),\fR \fBbool (* const \fIprev_choice\fB)(FIELD *, const void *));\fR -.sp +.PP \fBFIELDTYPE *link_fieldtype(FIELDTYPE *\fItype1\fB,\fR \fBFIELDTYPE *\fItype2\fB);\fR +.fi .SH DESCRIPTION .SS new_fieldtype The function \fBnew_fieldtype\fP creates a new field type usable for data @@ -151,13 +150,6 @@ The field is the current field. .TP 5 .B E_SYSTEM_ERROR System error occurred (see \fBerrno\fP(3)). -.SH SEE ALSO -\fBcurses\fP(3X), -\fBform\fP(3X), -\fBform_field_validation\fP(3X). -.SH NOTES -The header file \fB\fP automatically includes the header file -\fB\fP. .SH PORTABILITY These routines emulate the System V forms library. They were not supported on @@ -165,3 +157,7 @@ Version 7 or BSD versions. .SH AUTHORS Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. +.SH SEE ALSO +\fB\%curses\fP(3X), +\fB\%form\fP(3X), +\fB\%form_field_validation\fP(3X)