mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 01:49:24 +08:00
Standard POSIX specification in URL “https://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_send.html” requires that "EBADF" be returned when mqdes is not open for writing. And message priorities range from 0 to {MQ_PRIO_MAX}-1. In this change, i update them to follow POSIX spec. Signed-off-by: yangjiao <yangjiao@xiaomi.com>