DEVICE_GET_PARENT(9)

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

πŸ‘‘ DEVICE_GET_PARENT(9) πŸ‘‘

okay so this is the DEVICE_GET_PARENT(9) page from the Kernel Developer's Manual, and it's short but iconic πŸ’…


✨ NAME ✨

device_get_parent β€” return the device's parent


πŸ› οΈ SYNOPSIS πŸ› οΈ

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

device_t
device_get_parent(device_t dev);

🌸 DESCRIPTION 🌸

The device_get_parent() function returns the name of the device's parent device. That's literally the whole assignment, bestie πŸŽ€


πŸ¦‹ SEE ALSO πŸ¦‹


πŸŽ€ AUTHORS πŸŽ€

This manual page was written by Warner Losh. Shoutout to Warner, fr fr 🫢


πŸ’… Debian Β· April 21, 2003 Β· DEVICE_GET_PARENT(9) β€” okay bye bestie, stay iconic 🌈✨

πŸ“¦ where this page comes from