deregister a driver registered by drv_attach(D3)
void drv_detach(const drvinfo_t *infop);
deregisters a driver that was previously registered
Pointer to the driver's
structure, as passed to a previous call to the
The call to
causes a call to the CFG_REMOVE subfunction of the
entry point routine.
It may also call the CFG_SUSPEND subfunction.
Code the CFG_REMOVE subfunction
to perform all activities that should happen
during system shutdown or, for a hot plug driver,
when the device is removed from the system.
The driver should be coded to work correctly
whether or not the CFG_SUSPEND subfunction is also called.
Context and synchronization
User or blockable
``Hotplug devices'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005