X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fform_field_userptr.3x;h=5d3ab1444c357d90717b288d94292b3c2add5c88;hp=8a8427c59ef8277352e08d15602bd569062ad6fc;hb=152c5a605234b7ea36ba3a03ec07e124bb6aac75;hpb=f44733b760290aa8f51c6c9e1e463254833bffcd diff --git a/man/form_field_userptr.3x b/man/form_field_userptr.3x index 8a8427c5..5d3ab144 100644 --- a/man/form_field_userptr.3x +++ b/man/form_field_userptr.3x @@ -28,18 +28,17 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form_field_userptr.3x,v 1.14 2020/03/28 19:06:28 tom Exp $ +.\" $Id: form_field_userptr.3x,v 1.16 2020/10/24 09:06:33 tom Exp $ .TH form_field_userptr 3X "" .SH NAME \fBset_field_userptr\fR, \fBfield_userptr\fR \- associate application data with a form field .SH SYNOPSIS \fB#include \fR +.sp +\fBint set_field_userptr(FIELD *\fP\fIfield\fP\fB, void *\fP\fIuserptr\fP\fB);\fP .br -int set_field_userptr(FIELD *field, void*userptr); -.br -void *field_userptr(const FIELD *field); -.br +\fBvoid *field_userptr(const FIELD *\fP\fIfield\fP\fB);\fP .SH DESCRIPTION Every form field has a field that can be used to hold application-specific data (that is, the form-driver code leaves it alone).