]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man2/mq_getsetattr.2
All pages: Remove the 5th argument to .TH
[thirdparty/man-pages.git] / man2 / mq_getsetattr.2
1 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH MQ_GETSETATTR 2 2021-03-22 "Linux man-pages (unreleased)"
6 .SH NAME
7 mq_getsetattr \- get/set message queue attributes
8 .SH SYNOPSIS
9 .nf
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>
13 .PP
14 .BI "int syscall(SYS_mq_getsetattr, mqd_t " mqdes ,
15 .BI " const struct mq_attr *" newattr ", struct mq_attr *" oldattr );
16 .fi
17 .SH DESCRIPTION
18 Do not use this system call.
19 .PP
20 This is the low-level system call used to implement
21 .BR mq_getattr (3)
22 and
23 .BR mq_setattr (3).
24 For an explanation of how this system call operates,
25 see the description of
26 .BR mq_setattr (3).
27 .SH STANDARDS
28 This interface is nonstandard; avoid its use.
29 .SH NOTES
30 Never call it unless you are writing a C library!
31 .SH SEE ALSO
32 .BR mq_getattr (3),
33 .BR mq_overview (7)