Debian Codegraph @

upstream/debian-trixie/man2/mq_getsetattr.2

raw
1 .\" Copyright (C) 2006 Michael Kerrisk <[email protected]>
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH mq_getsetattr 2 2024-05-02 "Linux man-pages 6.9.1"
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 .P
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 .P
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 None.
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)