DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

panel_userptr(S)


panel_userptr: set_panel_userptr, panel_userptr -- associate application data with a panels panel

Syntax

cc ... -lpanel -lcurses

#include <panel.h>

int set_panel_userptr(PANEL *panel, char *ptr); char *panel_userptr(PANEL *panel);

Description

set_panel_userptr- set the user pointer of a panel

panel_userptr- return the user pointer of a panel

Each panel has a user pointer available for maintaining relevant information.

set_panel_userptr(S) sets the user pointer of panel to ptr.

panel_userptr(S) returns the user pointer of panel.

Return values

set_panel_userptr( ) returns OK if successful, ERR otherwise.

panel_userptr( ) returns NULL if there is no user pointer assigned to panel.

Warning

The header file panel.h automatically includes the header file curses.h.

Files


/usr/lib/libpanel.a
the library

See also

curses(S), panels(S)

Standards conformance

set_panel_userptr(S) and panel_userptr(S) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003