ldi_remove_event_handler(9F) Kernel Functions for Drivers ldi_remove_event_handler(9F)NAME
ldi_remove_event_handler - Remove an NDI event service callback
SYNOPSIS
#include <sys/sunldi.h>
int ldi_remove_event_handler(ldi_handle_t lh, ldi_callback_id_t id);
INTERFACE LEVEL
Solaris DDI Specific (Solaris DDI)
PARAMETERS
ldi_handle_t lh Layered handle representing the device for which the event notification is requested.
ldi_callback_id_t id Unique system-wide registration ID returned by ldi_add_event_handler(9F) upon successful registration.
DESCRIPTION
The ldi_remove_event_handler() function removes the callback handler specified by the registration ID (ldi_callback_id_t). Upon successful
removal, the callback handler is removed from the system and is not invoked at the event occurance.
RETURN VALUES
DDI_SUCCESS Callback handler removed successfully.
DDI_FAILURE Failed to remove callback handler.
CONTEXT
This function can be called from user and kernel contexts only.
SEE ALSO ldi_add_event_handler(9F), ldi_get_eventcookie(9F)
Writing Device Drivers
SunOS 5.10 9 Feb 2004 ldi_remove_event_handler(9F)
Check Out this Related Man Page
ldi_remove_event_handler(9F) Kernel Functions for Drivers ldi_remove_event_handler(9F)NAME
ldi_remove_event_handler - remove an NDI event service callback
SYNOPSIS
#include <sys/ddi_obsolete.h>
int ldi_remove_event_handler(ldi_handle_t lh,
ldi_callback_id_t id);
INTERFACE LEVEL
Obsolete
PARAMETERS
ldi_handle_t lh Layered handle representing the device for which the event notification is requested.
ldi_callback_id_t id Unique system-wide registration ID returned by ldi_add_event_handler(9F) upon successful registration.
DESCRIPTION
This function is obsolete and is only maintained for compatibility. Use of this function is strongly discouraged. For equivalent function-
ality provided by new interfaces, see ldi_ev_register_callbacks(9F) and ldi_ev_remove_callbacks(9F).
The ldi_remove_event_handler() function removes the callback handler specified by the registration ID (ldi_callback_id_t). Upon successful
removal, the callback handler is removed from the system and is not invoked at the event occurance.
RETURN VALUES
DDI_SUCCESS Callback handler removed successfully.
DDI_FAILURE Failed to remove callback handler.
CONTEXT
This function can be called from user and kernel contexts only.
SEE ALSO ldi_ev_register_callbacks(9F), ldi_ev_remove_callbacks(9F), ldi_add_event_handler(9F), ldi_get_eventcookie(9F)
Writing Device Drivers
SunOS 5.11 21 Aug 2007 ldi_remove_event_handler(9F)
Man Page
5 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi All,
I need to extract the last occurance of a pattern match. So far I've got the code below which extracts the first occurance. Any ideas how I can modify it so that it extracts the last?
BEGIN {}
{
if (data++ == 0)
... (17 Replies)
Hi,
I am new to Unix world. Is there any command which can directly return the second occurance of a particular string in a file? Basically, I want to read the contents of the file from the second occurance of a particualr string. Can be implemented using a loop, but am just wondering if there... (5 Replies)
I have a file with a bunch of similar lines in which I want to extract a phrase delimited by the first occurance of a '>' at the beginning and the first occurance of a '<' at the end (you might have guessed these are beginning/end of HTML tags). Using Sed I have managed to delete up to and... (7 Replies)
Hi
I have a file which contains the following two lines which are same But I would like to insert the value=8.8.8.8 in the 1st occurance line and value=9.9.9.9 in the 2nd occurance line.
<parameter name="TestIp1" value="">
<parameter name="TestIp1" value="">
Please suggest (1 Reply)