On 11/1/20 4:08 PM, Alejandro Colomar wrote: > 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@xxxxxxxxx> Thanks, Alex. Patch applied. Cheers, Michael > --- > man2/mq_getsetattr.2 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man2/mq_getsetattr.2 b/man2/mq_getsetattr.2 > index 3878789cf..80db11b7e 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 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/