MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


PICL Plug-In Library Functions
                              ptreeunregisterhandler(3PICLTRE)



NAME
     ptreeunregisterhandler - unregister the event handler  for
     the event

SYNOPSIS
     cc [flag ...] file ... -lpicltree [library ...]
     #include 

     void ptreeregisterhandler(const char *ename,
          void (*evthandler)(const char *ename, const void *earg,
          sizet size, void *cookie), void *cookie);


DESCRIPTION
     The  ptreeunregisterhandler()  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 evthandler 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 ptreeunregisterhandler() or a deadlock
     may result.


     The ptreeunregisterhandler() function must not be  invoked
     from the handler that is being unregistered.

RETURN VALUES
     This function does not return a value.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     MT-Safe                     
    


SEE ALSO




SunOS 5.11           Last change: 1 Aug 2000                    1






PICL Plug-In Library Functions
                              ptreeunregisterhandler(3PICLTRE)



     ptreeregisterhandler(3PICLTRE), attributes(5)





















































SunOS 5.11           Last change: 1 Aug 2000                    2






PICL Plug-In Library Functions
                              ptreeunregisterhandler(3PICLTRE)






















































SunOS 5.11           Last change: 1 Aug 2000                    3






OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™