1 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .TH MQ_GETSETATTR 2 2021-03-22 "Linux man-pages (unreleased)"
7 mq_getsetattr \- get/set message queue attributes
10 .BR "#include <mqueue.h>" " /* Definition of " "struct mq_attr" " */"
11 .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
12 .B #include <unistd.h>
14 .BI "int syscall(SYS_mq_getsetattr, mqd_t " mqdes ,
15 .BI " const struct mq_attr *" newattr ", struct mq_attr *" oldattr );
18 Do not use this system call.
20 This is the low-level system call used to implement
24 For an explanation of how this system call operates,
25 see the description of
28 This interface is nonstandard; avoid its use.
30 Never call it unless you are writing a C library!