pub unsafe extern "C" fn k_stack_push(
stack: *mut k_stack,
data: usize,
) -> i32
Expand description
@brief Push an element onto a stack.
This routine adds a stack_data_t value @a data to @a stack.
@funcprops \isr_ok
@param stack Address of the stack. @param data Value to push onto the stack.
@retval 0 on success @retval -ENOMEM if stack is full