Skip to main content

fdt_first_subnode

Function fdt_first_subnode 

Source
pub unsafe extern "C" fn fdt_first_subnode(
    fdt: *const c_void,
    offset: c_int,
) -> c_int
Expand description

fdt_first_subnode() - get offset of first direct subnode @fdt: FDT blob @offset: Offset of node to check

returns: offset of first subnode, or -FDT_ERR_NOTFOUND if there is none