DOKK / manpages / debian 12 / freebsd-manpages / OF_package_to_path.9freebsd.en
OF_PACKAGE_TO_PATH(9) Kernel Developer's Manual OF_PACKAGE_TO_PATH(9)

OF_package_to_pathget fully qualified path to a device tree node

#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>

ssize_t
OF_package_to_path(phandle_t node, char *buf, size_t len);

() copies at most len bytes of the fully qualified path to the device tree node node into the memory specified by buf. The function returns the number of bytes copied or -1 in case of the error.

OF_finddevice(9)

This manual page was written by Oleksandr Tymoshenko <gonzo@FreeBSD.org>.

April 9, 2018 Debian