diff options
author | Alejandro Colomar <colomar.6.4.3@gmail.com> | 2020-11-01 16:08:31 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-11-01 18:23:38 +0100 |
commit | a024704790fdc81610c897468d042fdfddcb7008 (patch) | |
tree | 490db9104450a648f9502cb07fb44a44c00ae4f4 | |
parent | 706d4f73ae0797ac711f8385b13dc285e8abd2e2 (diff) | |
download | man-pages-a024704790fdc81610c897468d042fdfddcb7008.tar.gz |
mq_getsetattr.2: Use 'const' when appropriate
The Linux kernel uses the following:
ipc/mqueue.c:1480:
SYSCALL_DEFINE3(mq_getsetattr, mqd_t, mqdes,
const struct mq_attr __user *, u_mqstat,
struct mq_attr __user *, u_omqstat)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man2/mq_getsetattr.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/mq_getsetattr.2 b/man2/mq_getsetattr.2 index 3878789cfb..409dfe11ce 100644 --- a/man2/mq_getsetattr.2 +++ b/man2/mq_getsetattr.2 @@ -30,7 +30,7 @@ mq_getsetattr \- get/set message queue attributes .B #include <sys/types.h> .B #include <mqueue.h> .PP -.BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr "," +.BI "int mq_getsetattr(mqd_t " mqdes ", const struct mq_attr *" newattr , .BI " struct mq_attr *" oldattr ); .fi .PP |