MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers          ldievremovecallbacks(9F)



NAME
     ldievremovecallbacks - remove all callbacks for  a  given
     callback ID

SYNOPSIS
     #include 

     void ldievremovecallbacks(ldievcallbackidt id);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI)

PARAMETERS
     ldievcallbackidt id

         An opaque data structure returned on successful calls to
         ldievregistercallbacks(9F).


DESCRIPTION
     The ldievremovecallback() function unregisters any  call-
     backs         that         were        registered        via
     ldievregistercallbacks(9F). Once this  function  returns,
     the callback ID is no longer valid.


     The finalize and notify callbacks exist independently of the
     LDI  handle  and  are not automatically removed when the LDI
     handle is closed. The layered driver removes these callbacks
     via  ldievremovecallbacks()()  when  the callbacks are no
     longer needed. The LDI framework may panic the system if the
     entity  registering the callback (a devt, dip or module) no
     longer exists on the system and the callbacks have not  been
     unregistered.

RETURN VALUES
     None.

CONTEXT
     This function can be called from user  and  kernel  contexts
     only.

SEE ALSO
     ldievgetcookie(9F), ldievregistercallbacks(9F)










SunOS 5.11          Last change: 21 Aug 2007                    1



OpenSolaris man pages main menu

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