位置:首頁 > 其他技術 > 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!)

另請參閱