1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

core: documentation: msg_reply returns -1 on error

This commit is contained in:
Oleg Hahm 2015-03-05 15:54:43 +01:00
parent 579377a6a1
commit 460dcdf8bb

View File

@ -200,11 +200,10 @@ int msg_send_receive(msg_t *m, msg_t *reply, kernel_pid_t target_pid);
* 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.
* @param[out] reply message that target will get as reply, must not be NULL.
*
* @return 1, if successful
* @return 0, on error
* @return -1, on error
*/
int msg_reply(msg_t *m, msg_t *reply);