tail head cat sleep
QR code linking to this page

Manual Pages  — DEVICE_DELETE_CHILDREN

NAME

device_delete_children – delete all child devices of a given device

CONTENTS

SYNOPSIS

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

int
device_delete_children(device_t dev);

DESCRIPTION

The device_delete_children() function deletes all child devices of the given device dev, if any, using the device_delete_child() function for each device it finds. If a child device cannot be deleted, this function will return an error code.

RETURN VALUES

Zero is returned on success, a non-zero return value indicates failure.

SEE ALSO

device_delete_child(9)

AUTHORS

This manual page was written by Jeroen Ruigrok van der Werven.

DEVICE_DELETE_CHILDREN (9) September 28, 2018

tail head cat sleep
QR code linking to this page


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

If at first you don't succeed, you must be a programmer.