Curses Library Functions paneluserptr(3CURSES)
NAME
paneluserptr, setpaneluserptr - associate application
data with a panels panel
SYNOPSIS
cc [ flag ... ] file ... -lpanel -lcurses [ library .. ]
#include
int setpaneluserptr(PANEL *panel, char *ptr);
char * paneluserptr(PANEL *panel);
DESCRIPTION
Each panel has a user pointer available for maintaining
relevant information.
setpaneluserptr() sets the user pointer of panel to ptr.
paneluserptr() returns the user pointer of panel.
RETURN VALUES
setpaneluserptr returns OK if successful, ER otherwise.
paneluserptr returns NUL if there is no user pointer
assigned to panel.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Unsafe
SEE ALSO
curses(3CURSES), panels(3CURSES), attributes(5)
NOTES
The header automatically includes the header
.
SunOS 5.11 Last change: 31 Dec 1996 1
|