Function riot_sys::msg_reply_int

source ·
pub unsafe extern "C" fn msg_reply_int(
    m: *mut msg_t,
    reply: *mut msg_t
) -> c_int
Expand description

@brief Replies to a message from interrupt.

An ISR can obviously not receive messages, however a thread might delegate replying to a message to an ISR.

@param[in] m message to reply to, must not be NULL. @param[out] reply message that target will get as reply, must not be NULL.

@return 1, if successful @return -1, on error