rt 0.19.1

A real-time operating system capable of full preemption
Documentation
1
2
3
4
5
6
7
8
use crate::bindings::rt_list;

pub const fn list_init(list: *mut rt_list) -> rt_list {
    rt_list {
        prev: list,
        next: list,
    }
}