tail head cat sleep
QR code linking to this page



BUS_CHILD_DETACHED – notify a bus device that a child was detached



#include <sys/param.h>
#include <sys/bus.h>

BUS_CHILD_DETACHED(device_t dev, device_t child);


The BUS_CHILD_DETACHED() method is invoked by the new-bus framework after a device is detached. A bus driver can provide an implementation of this method to reclaim any resources allocated on behalf of the child or to cleanup state not properly released by a DEVICE_DETACH(9) method.


device(9), DEVICE_DETACH(9)

BUS_CHILD_DETACHED (9) August 21, 2012

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology.
— The Unix Haters' handbook