tail head cat sleep
QR code linking to this page

Manual Pages  — BUS_CHILD_DETACHED

NAME

BUS_CHILD_DETACHED – notify a bus device that a child was detached

CONTENTS

SYNOPSIS

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

void
BUS_CHILD_DETACHED(device_t dev, device_t child);

DESCRIPTION

The BUS_CHILD_DETACHED() method is invoked by the new-bus framework after a device is detached or if a driver's attach routine (seeDEVICE_ATTACH(9)) fails. 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.

SEE ALSO

device(9), DEVICE_DETACH(9)

BUS_CHILD_DETACHED (9) January 9, 2025

tail head cat sleep
QR code linking to this page


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

Unix is a junk OS designed by a committee of PhDs.
— Dave Cutler