riot_sys

Function 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.