opensolaris man page for ptree_unregister_handler

Query: ptree_unregister_handler

OS: opensolaris

Section: 3picltre

Links: opensolaris man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ptree_unregister_handler(3PICLTREE)			  PICL Plug-In Library Functions		       ptree_unregister_handler(3PICLTREE)

NAME
ptree_unregister_handler - unregister the event handler for the event
SYNOPSIS
cc [flag ...] file ... -lpicltree [library ...] #include <picltree.h> void ptree_register_handler(const char *ename, void (*evt_handler)(const char *ename, const void *earg, size_t size, void *cookie), void *cookie);
DESCRIPTION
The ptree_unregister_handler() function unregisters the event handler for the specified event. The argument ename specifies the name of the PICL event for which to unregister the handler. The argument evt_handler specifies the event handler function. The argument cookie is the pointer to the caller-specific data given at the time of registration of the handler. If the handler being unregistered is currently executing, then this function will block until its completion. Because of this, locks acquired by the handlers should not be held across the call to ptree_unregister_handler() or a deadlock may result. The ptree_unregister_handler() function must not be invoked from the handler that is being unregistered.
RETURN VALUES
This function does not return a value.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
ptree_register_handler(3PICLTREE), attributes(5) SunOS 5.11 1 Aug 2000 ptree_unregister_handler(3PICLTREE)
Related Man Pages
libpicltree(3lib) - opensolaris
ptree_post_event(3picltre) - sunos
ptree_register_handler(3picltre) - opensolaris
ptree_unregister_handler(3picltre) - opensolaris
picld_log(3picltre) - linux
Similar Topics in the Unix Linux Community
I want to unregister