BUS_PRINT_CHILD(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

🌸 NAME 🌸

BUS_PRINT_CHILD β€” print information about a device

Okay so, bestie, this is BUS_PRINT_CHILD(9) from the Kernel Developer's Manual, and it's giving β€œtell me about this device attachment” energy ✨

✨ 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().

Like, it's literally the glow-up moment where the child device gets to explain how it's attached to its parent β€” no cap 🫢

πŸŽ€ RETURN VALUES πŸŽ€

The number of characters output.

That's the whole return vibe: just the character count, bestie πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Doug Rabson.

Ty Doug, iconic behavior fr fr 🫢


πŸ’– cute little footer sign-off: this one's from Debian and dated January 6, 2005 β€” periodt, bestie! πŸ’…

πŸ“¦ where this page comes from