Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
set_panel_userptr, panel_userptr — user data associated with panelsLIBRARY
library “libpanel”SYNOPSIS
#include <panel.h>set_panel_userptr(PANEL *p, char *data);
panel_userptr(PANEL *p);
DESCRIPTION
The function set_panel_userptr() can be used to associate arbitrary user data with a panel.RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values:- OK
- The function completed successfully.
- ERR
- An error occurred in the function.