logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_get_parent — return the device's parent

Authors

       This manual page was written by Warner Losh.

Debian                                           April 21, 2003                             DEVICE_GET_PARENT(9)

Description

       The device_get_parent() function returns the name of the device's parent device.

Name

       device_get_parent — return the device's parent

See Also

device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>device_tdevice_get_parent(device_tdev);

See Also