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!)

另請參閱