Debian Codegraph @

upstream/debian-unstable/man2/mq_getsetattr.2

raw
1 .\" Copyright 2006, Michael Kerrisk <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH mq_getsetattr 2 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 mq_getsetattr \- get/set message queue attributes
9 .SH SYNOPSIS
10 .nf
11 .BR "#include <mqueue.h>" " /* Definition of " "struct mq_attr" " */"
12 .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
13 .B #include <unistd.h>
14 .P
15 .BI "int syscall(SYS_mq_getsetattr, mqd_t " mqdes ,
16 .BI " const struct mq_attr *" newattr ", struct mq_attr *" oldattr );
17 .fi
18 .SH DESCRIPTION
19 Do not use this system call.
20 .P
21 This is the low-level system call used to implement
22 .BR mq_getattr (3)
23 and
24 .BR mq_setattr (3).
25 For an explanation of how this system call operates,
26 see the description of
27 .BR mq_setattr (3).
28 .SH STANDARDS
29 None.
30 .SH NOTES
31 Never call it unless you are writing a C library!
32 .SH SEE ALSO
33 .BR mq_getattr (3),
34 .BR mq_overview (7)