From 399644e47874bff147afb19c89228901ac39340e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:40:15 +0200 Subject: Adding upstream version 6.05.01. Signed-off-by: Daniel Baumann --- man2/mq_getsetattr.2 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 man2/mq_getsetattr.2 (limited to 'man2/mq_getsetattr.2') diff --git a/man2/mq_getsetattr.2 b/man2/mq_getsetattr.2 new file mode 100644 index 0000000..b47e264 --- /dev/null +++ b/man2/mq_getsetattr.2 @@ -0,0 +1,33 @@ +.\" Copyright (C) 2006 Michael Kerrisk +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.TH mq_getsetattr 2 2023-03-30 "Linux man-pages 6.05.01" +.SH NAME +mq_getsetattr \- get/set message queue attributes +.SH SYNOPSIS +.nf +.BR "#include " " /* Definition of " "struct mq_attr" " */" +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include +.PP +.BI "int syscall(SYS_mq_getsetattr, mqd_t " mqdes , +.BI " const struct mq_attr *" newattr ", struct mq_attr *" oldattr ); +.fi +.SH DESCRIPTION +Do not use this system call. +.PP +This is the low-level system call used to implement +.BR mq_getattr (3) +and +.BR mq_setattr (3). +For an explanation of how this system call operates, +see the description of +.BR mq_setattr (3). +.SH STANDARDS +None. +.SH NOTES +Never call it unless you are writing a C library! +.SH SEE ALSO +.BR mq_getattr (3), +.BR mq_overview (7) -- cgit v1.2.3