ldi_ev_remove_callbacks man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

ldi_ev_remove_callbacks(9Kernel Functions for Driveldi_ev_remove_callbacks(9F)

NAME
       ldi_ev_remove_callbacks - remove all callbacks for a given callback ID

SYNOPSIS
       #include <sys/sunldi.h>

       void ldi_ev_remove_callbacks(ldi_ev_callback_id_t id);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI)

PARAMETERS
       ldi_ev_callback_id_t id

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

DESCRIPTION
       The ldi_ev_remove_callback() function unregisters  any  callbacks  that
       were  registered	 via ldi_ev_register_callbacks(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  ldi_ev_remove_callbacks()()
       when  the  callbacks  are no longer needed. The LDI framework may panic
       the system if the entity registering the callback (a dev_t, dip or mod‐
       ule)  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
       ldi_ev_get_cookie(9F), ldi_ev_register_callbacks(9F)

SunOS 5.11			  21 Aug 2007	   ldi_ev_remove_callbacks(9F)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net