]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man2/mq_getsetattr.2
_exit.2, access.2, acct.2, adjtimex.2, alarm.2, alloc_hugepages.2, arch_prctl.2,...
[thirdparty/man-pages.git] / man2 / mq_getsetattr.2
1 '\" t
2 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
3 .\"
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\"
24 .TH MQ_GETSETATTR 2 2012-07-13 "Linux" "Linux Programmer's Manual"
25 .SH NAME
26 mq_getsetattr \- get/set message queue attributes
27 .SH SYNOPSIS
28 .nf
29 .B #include <sys/types.h>
30 .B #include <mqueue.h>
31 .sp
32 .BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
33 .BI " struct mq_attr *" oldattr );
34 .fi
35
36 .IR Note :
37 There is no glibc wrapper for this system call; see NOTES.
38 .SH DESCRIPTION
39 Do not use this system call.
40
41 This is the low-level system call used to implement
42 .BR mq_getattr (3)
43 and
44 .BR mq_setattr (3).
45 For an explanation of how this system call operates,
46 see the description of
47 .BR mq_setattr (3).
48 .SH CONFORMING TO
49 This interface is nonstandard; avoid its use.
50 .SH NOTES
51 Glibc does not provide a wrapper for this system call; call it using
52 .BR syscall (2).
53 (Actually, never call it unless you are writing a C library!)
54 .SH SEE ALSO
55 .BR mq_getattr (3),
56 .BR mq_overview (7)