ddi_remove_event_handler man page on Solaris

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

ddi_remove_event_handler(Kernel Functions for Drivddi_remove_event_handler(9F)

NAME
       ddi_remove_event_handler - remove an NDI event service callback handler

SYNOPSIS
       #include <sys/dditypes.h>
       #include <sys/sunddi.h>

       int ddi_remove_event_handler(ddi_registration_id_t id);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

PARAMETERS
       ddi_registration_id_t id

	   Unique  system  wide	 registration  ID return by ddi_add_event_han‐
	   dler(9F) upon successful registration.

DESCRIPTION
       The ddi_remove_event_handler() function removes	the  callback  handler
       specified by the registration id (ddi_registration_id_t). Upon success‐
       ful removal, the callback handler is removed from the system  and  will
       not be invoked in the face of the event.

RETURN VALUES
       DDI_SUCCESS

	   Callback handler removed successfully.

       DDI_FAILURE

	   Failed to remove callback handler.

CONTEXT
       The  ddi_remove_event_handler()	function  can  be called from user and
       kernel contexts only.

ATTRIBUTES
       See attributes(5) for a description of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Stability Level		     │Evolving			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       attributes(5), ddi_add_event_handler(9F), ddi_get_eventcookie(9F)

       Writing Device Drivers

NOTES
       Device drivers must remove  all	registered  callback  handlers	before
       detach(9E) processing for that device instance is complete.

SunOS 5.10			  2 May 2003	  ddi_remove_event_handler(9F)
[top]

List of man pages available for Solaris

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