*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: OF_parent | Section: 9 | Source: FreeBSD | File: OF_parent.9.gz
OF_CHILD(9) FreeBSD Kernel Developer's Manual OF_CHILD(9) NAME OF_child, OF_parent, OF_peer - navigate device tree SYNOPSIS #include <dev/ofw/ofw_bus.h> #include <dev/ofw/ofw_bus_subr.h> phandle_t OF_child(phandle_t node); phandle_t OF_parent(phandle_t node); phandle_t OF_peer(phandle_t node); DESCRIPTION OF_child() returns the phandle value of the first child of the node. Zero is returned if there are no child nodes. OF_parent() returns the phandle for the parent of the node. Zero is returned if node is the root node. OF_peer() returns the phandle value of the next sibling of the node. Zero is returned if there is no sibling node. EXAMPLES phandle_t node, child; ... for (child = OF_child(node); child != 0; child = OF_peer(child) { ... } SEE ALSO OF_finddevice(9) AUTHORS This manual page was written by Oleksandr Tymoshenko <[email protected]>. FreeBSD 14.1-RELEASE-p8 April 9, 2018 FreeBSD 14.1-RELEASE-p8

Navigation Options