NAME

OF_package_to_pathget fully qualified path to a device tree node

SYNOPSIS

#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);

DESCRIPTION

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

SEE ALSO

OF_finddevice(9)

AUTHORS

This manual page was written by Oleksandr Tymoshenko <[email protected]>.

Recommended readings

Pages related to OF_package_to_path you should read also:

Questions & Answers

Helpful answers and articles about OF_package_to_path you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search