X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fform_userptr.3x;h=cdd36d8be858e0e57fcd00f8b51c1df409373992;hp=5651a95f57e1f719f13b0cf3b61473764848f07d;hb=74433bcf4f6fe40862a28f3c00edaedcd5054b01;hpb=e6bb3226cdd35f5fd9f45bb1685cc2203c889480 diff --git a/man/form_userptr.3x b/man/form_userptr.3x index 5651a95f..cdd36d8b 100644 --- a/man/form_userptr.3x +++ b/man/form_userptr.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright 2018,2020 Thomas E. Dickey * +.\" Copyright 2018-2020,2021 Thomas E. Dickey * .\" Copyright 1998-2010,2015 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -28,13 +28,13 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form_userptr.3x,v 1.19 2020/10/24 09:00:52 tom Exp $ +.\" $Id: form_userptr.3x,v 1.21 2021/12/25 21:41:58 tom Exp $ .TH form_userptr 3X "" .SH NAME \fBset_form_userptr\fP, -\fBform_userptr\fR \- associate application data with a form item +\fBform_userptr\fP \- associate application data with a form item .SH SYNOPSIS -\fB#include \fR +\fB#include \fP .sp \fBint set_form_userptr(FORM *\fP\fIform\fP\fB, void *\fP\fIuserptr\fP\fB);\fP .br @@ -45,15 +45,15 @@ Every form and every form item has a field that can be used to hold application-specific data (that is, the form-driver code leaves it alone). These functions get and set the form user pointer field. .SH RETURN VALUE -The function \fBform_userptr\fR returns a pointer (which may be \fBNULL\fR). +The function \fBform_userptr\fP returns a pointer (which may be \fBNULL\fP). It does not set \fBerrno\fP. .PP -The function \fBset_form_userptr\fR returns \fBE_OK\fP (success). +The function \fBset_form_userptr\fP returns \fBE_OK\fP (success). .SH SEE ALSO -\fBcurses\fR(3X), \fBform\fR(3X). +\fBcurses\fP(3X), \fBform\fP(3X). .SH NOTES -The header file \fB\fR automatically includes the header file -\fB\fR. +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