PANEL_USERPTR(3) | Library Functions Manual | PANEL_USERPTR(3) |
set_panel_userptr
, panel_userptr
—
#include <panel.h>
int
set_panel_userptr
(PANEL
*p, char
*data);
char *
panel_userptr
(PANEL
*p);
set_panel_userptr
() can be used to
associate arbitrary user data with a panel.
The data associated with a panel can be obtained with
panel_userptr
().
NULL
if an
error is detected. The functions that return an int will return one of the
following values:
October 28, 2015 | NetBSD 9.0 |