Both POSIX and glibc use 'restrict' in mq_setattr(). Let's use it here too. .../glibc$ grep_glibc_prototype mq_setattr rt/mqueue.h:51: extern int mq_setattr (mqd_t __mqdes, const struct mq_attr *__restrict __mqstat, struct mq_attr *__restrict __omqstat) __THROW __nonnull ((2)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/mq_getattr.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3 index 32bfe21be..f1925fc71 100644 --- a/man3/mq_getattr.3 +++ b/man3/mq_getattr.3 @@ -30,8 +30,8 @@ mq_getattr, mq_setattr \- get/set message queue attributes .B #include <mqueue.h> .PP .BI "int mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr ); -.BI "int mq_setattr(mqd_t " mqdes ", const struct mq_attr *" newattr "," -.BI " struct mq_attr *" oldattr ); +.BI "int mq_setattr(mqd_t " mqdes ", const struct mq_attr *restrict " newattr , +.BI " struct mq_attr *restrict " oldattr ); .fi .PP Link with \fI\-lrt\fP. -- 2.30.1.721.g45526154a5