diff options
author | 1997-11-26 04:00:50 +0000 | |
---|---|---|
committer | 1997-11-26 04:00:50 +0000 | |
commit | 6cd90de493b49eff795fac736242c7fcd2362c99 (patch) | |
tree | a0b7f81919b2ae827554382517ac7b016d7abf0f /lib/libform/form_userptr.3 | |
parent | libmenu from ncurses 4.1. Post 4.1 patches to be applied in a separate commit. (diff) | |
download | wireguard-openbsd-6cd90de493b49eff795fac736242c7fcd2362c99.tar.xz wireguard-openbsd-6cd90de493b49eff795fac736242c7fcd2362c99.zip |
libform from ncurses 4.1. Post 4.1 patches to be applied in a separate commit.
Diffstat (limited to 'lib/libform/form_userptr.3')
-rw-r--r-- | lib/libform/form_userptr.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libform/form_userptr.3 b/lib/libform/form_userptr.3 index 78ef4f8cc64..b32963d4eb9 100644 --- a/lib/libform/form_userptr.3 +++ b/lib/libform/form_userptr.3 @@ -5,17 +5,17 @@ .SH SYNOPSIS \fB#include <form.h>\fR .br -int set_form_userptr(FORM *form, char *userptr); +int set_form_userptr(FORM *form, const void *userptr); .br -char form_userptr(FORM *form); +const void* form_userptr(const FORM *form); .br .SH DESCRIPTION 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 \fBNULL\fR on error. The function each -function \fB\set_form_userptrfR returns one of the following: +The function \fBform_userptr\fR returns \fBNULL\fR on error. +The function \fBset_form_userptr\fR returns one of the following: .TP 5 \fBE_OK\fR The routine succeeded. |