位置:首页 > 其他技术 > Unix/Linux系统调用 > mq_getsetattr()函数 Unix/Linux

mq_getsetattr()函数 Unix/Linux

mq_getsetattr - 获取/设置消息队列的属性

内容简介

#include <sys/types.h> 
#include <mqueue.h> 

mqd_t mq_getsetattr(mqd_t mqdes, struct mq_attr *newattr, struct mq_attr *oldattr);

描述

不要使用这个系统调用。

This is the low-level system call used to implement mq_getattr(3) and mq_setattr(3). For an explanation of how this system call operates, see the description ofmq_setattr(3).

遵循于

This interface is non-standard; avoid its use.

注意

Glibc does not provide a wrapper for this system call; call it using syscall(2). (Actually, never call it unless you are writing a libc!)

另请参阅