mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
706d4f73ae
commit
a024704790
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue