Kernel Functions for Drivers ldi_ev_get_type(9F)
NAME
ldi_ev_get_type - get event name string from event cookie
SYNOPSIS
#include
int ldi_ev_get_type(ldi_ev_cookie_t cookie);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)PARAMETERS
ldi_ev_cookie_t cookie
An opaque event cookie for the event type returned by aprevious call to ldi_ev_get_cookie(9F).
DESCRIPTION
The ldi_ev_get_type() function returns the event string
represented by the LDI event cookie "cookie".RETURN VALUES
On success, this function returns the event string represented by "cookie". On failure, this function returns NULL.CONTEXT
This function can be called from user and kernel contexts only.SEE ALSO
ldi_ev_get_cookie(9F), ldi_ev_register_callbacks(9F),
ldi_ev_remove_callbacks(9F)
SunOS 5.11 Last change: 21 Aug 2007 1