Home
last modified time | relevance | path

Searched refs:mqstat (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/posix/
Dmqueue.h32 int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat);
37 int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat,
/Zephyr-Core-3.4.0/lib/posix/
Dmqueue.c303 int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat) in mq_getattr() argument
315 mqstat->mq_flags = mqd->flags; in mq_getattr()
316 mqstat->mq_maxmsg = attrs.max_msgs; in mq_getattr()
317 mqstat->mq_msgsize = attrs.msg_size; in mq_getattr()
318 mqstat->mq_curmsgs = attrs.used_msgs; in mq_getattr()
328 int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, in mq_setattr() argument
338 if (mqstat->mq_flags != 0 && mqstat->mq_flags != O_NONBLOCK) { in mq_setattr()
348 mqd->flags = mqstat->mq_flags; in mq_setattr()