]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man/man2/mq_getsetattr.2
man/, share/mk/: Move man*/ to man/
[thirdparty/man-pages.git] / man / man2 / mq_getsetattr.2
CommitLineData
c11b1abf 1.\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
77dc7e2b 2.\"
5fbde956 3.\" SPDX-License-Identifier: Linux-man-pages-copyleft
77dc7e2b 4.\"
4c1c5274 5.TH mq_getsetattr 2 (date) "Linux man-pages (unreleased)"
77dc7e2b
MK
6.SH NAME
7mq_getsetattr \- get/set message queue attributes
8.SH SYNOPSIS
9.nf
a39bcd0b
AC
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>
c6d039a3 13.P
a39bcd0b
AC
14.BI "int syscall(SYS_mq_getsetattr, mqd_t " mqdes ,
15.BI " const struct mq_attr *" newattr ", struct mq_attr *" oldattr );
77dc7e2b
MK
16.fi
17.SH DESCRIPTION
18Do not use this system call.
c6d039a3 19.P
77dc7e2b
MK
20This is the low-level system call used to implement
21.BR mq_getattr (3)
22and
23.BR mq_setattr (3).
c13182ef 24For an explanation of how this system call operates,
77dc7e2b
MK
25see the description of
26.BR mq_setattr (3).
3113c7f3 27.SH STANDARDS
4131356c 28None.
c12fd10d 29.SH NOTES
a39bcd0b 30Never call it unless you are writing a C library!
47297adb 31.SH SEE ALSO
77dc7e2b
MK
32.BR mq_getattr (3),
33.BR mq_overview (7)