Function riot_sys::msg_reply

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

@brief Replies to a message.

Sender must have sent the message with msg_send_receive().

@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