Skip to main content

fdt_create

Function fdt_create 

Source
pub unsafe extern "C" fn fdt_create(
    buf: *mut c_void,
    bufsize: c_int,
) -> c_int
Expand description

fdt_create - begin creation of a new fdt @buf: pointer to memory allocated where fdt will be created @bufsize: size of the memory space at fdt

fdt_create() is equivalent to fdt_create_with_flags() with flags=0.

returns: 0, on success -FDT_ERR_NOSPACE, bufsize is insufficient for a minimal fdt