tail head cat sleep
QR code linking to this page

Manual Pages  — BUS_PRINT_CHILD

NAME

BUS_PRINT_CHILD – print information about a device

CONTENTS

SYNOPSIS

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

int
BUS_PRINT_CHILD(device_t dev, device_t child);

DESCRIPTION

The BUS_PRINT_CHILD() method is called from system code which prints out a description of a device. It should describe the attachment that the child has with the parent. For instance the TurboLaser bus prints which node the device is attached to. Please see bus_generic_print_child(9) for more information regarding the proper formatting of the messages printed by BUS_PRINT_CHILD().

RETURN VALUES

The number of characters output.

SEE ALSO

device(9), driver(9)

AUTHORS

This manual page was written by Doug Rabson.

BUS_PRINT_CHILD (9) January 6, 2005

tail head cat sleep
QR code linking to this page


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

A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints.
— The Unix Haters' handbook