提交 d731b1ae 编写于 作者: W wuyunjie

mqattr set get

Change-Id: I990a50335f6c2a9deaef87d445a970d4f398a0a5
上级 f2d61153
...@@ -428,6 +428,16 @@ int mq_getsetattr(mqd_t mqd, const struct mq_attr *new, struct mq_attr *old) ...@@ -428,6 +428,16 @@ int mq_getsetattr(mqd_t mqd, const struct mq_attr *new, struct mq_attr *old)
return OsMqSetAttr(mqd, new, old); return OsMqSetAttr(mqd, new, old);
} }
int mq_getattr(mqd_t mqd, struct mq_attr *attr)
{
return mq_getsetattr(mqd, 0, attr);
}
int mq_setattr(mqd_t mqd, const struct mq_attr *new, struct mq_attr *old)
{
return mq_getsetattr(mqd, new, old);
}
int mq_unlink(const char *mqName) int mq_unlink(const char *mqName)
{ {
INT32 ret = 0; INT32 ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册