---
name: "BUS_PRINT_CHILD"
section: "9freebsd"
platform: "linux"
package: "freebsd-manpages"
version: "12.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/BUS_PRINT_CHILD/9freebsd"
---

# BUS\_PRINT\_CHILD(9freebsd)

print information about a device

## NAME

**BUS\_PRINT\_CHILD** – print information about a device

## 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)](/bus_generic_print_child/9.md) 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)](/device/9.md), [driver(9)](/driver/9.md)

## AUTHORS

This manual page was written by Doug Rabson.
