OF_package_to_path(9freebsd)

OF_package_to_path9freebsd

Get fully qualified path to a device tree node

Usage

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

Overview

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.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

Authors

This manual page was written by Oleksandr Tymoshenko ⟨[email protected]⟩.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.