Skip to main content

nros_platform_task_attr_init

Function nros_platform_task_attr_init 

Source
pub unsafe extern "C" fn nros_platform_task_attr_init(
    attr: *mut nros_platform_task_attr_t,
)
Expand description

Fill attr with the defaults — equivalent to passing NULL to task_init.

Callers use this rather than a designated initialiser so that a field added to the struct later stays source-compatible for out-of-tree ports.