sched:fix mq_timedsend describe

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2022-04-26 18:25:08 +08:00 committed by Xiang Xiao
parent fc16cfaefe
commit 3dc07ac6b4
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ int nxmq_timedsend(mqd_t mqdes, FAR const char *msg, size_t msglen,
* On success, mq_send() returns 0 (OK); on error, -1 (ERROR)
* is returned, with errno set to indicate the error:
*
* EAGAIN The queue was empty, and the O_NONBLOCK flag was set for the
* EAGAIN The queue was full, and the O_NONBLOCK flag was set for the
* message queue description referred to by mqdes.
* EINVAL Either msg or mqdes is NULL or the value of prio is invalid.
* EPERM Message queue opened not opened for writing.