1MQ_GETSETATTR(2) Linux Programmer's Manual MQ_GETSETATTR(2)
2
3
4
6 mq_getsetattr - get/set message queue attributes
7
9 #include <sys/types.h>
10 #include <mqueue.h>
11
12 int mq_getsetattr(mqd_t mqdes, struct mq_attr *newattr,
13 struct mq_attr *oldattr);
14
15 Note: There is no glibc wrapper for this system call; see NOTES.
16
18 Do not use this system call.
19
20 This is the low-level system call used to implement mq_getattr(3) and
21 mq_setattr(3). For an explanation of how this system call operates,
22 see the description of mq_setattr(3).
23
25 This interface is nonstandard; avoid its use.
26
28 Glibc does not provide a wrapper for this system call; call it using
29 syscall(2). (Actually, never call it unless you are writing a C
30 library!)
31
33 mq_getattr(3), mq_overview(7)
34
36 This page is part of release 5.02 of the Linux man-pages project. A
37 description of the project, information about reporting bugs, and the
38 latest version of this page, can be found at
39 https://www.kernel.org/doc/man-pages/.
40
41
42
43Linux 2017-09-15 MQ_GETSETATTR(2)