Function riot_sys::msg_receive

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

@brief Receive a message.

This function blocks until a message was received.

@param[out] m Pointer to preallocated msg_t structure, must not be NULL.

@return 1, Function always succeeds or blocks forever.