aboutsummaryrefslogtreecommitdiffstats
path: root/man2/msgop.2
diff options
context:
space:
mode:
authorAlex Colomar <alx.manpages@gmail.com>2022-09-18 01:09:59 +0200
committerAlejandro Colomar <alx@kernel.org>2022-11-10 00:53:45 +0100
commitc64cd13e002561c6802c6a1a1a8a640f034fea70 (patch)
tree6aa203e7d7d6a36fdd457994a78fc10c3b10d8ca /man2/msgop.2
parent77f31ff920bc0abdf73ee4ece808ba4eeeff90a4 (diff)
downloadman-pages-c64cd13e0025.tar.gz
Various pages: SYNOPSIS: Use VLA syntax in 'void *' function parameters
Use VLA syntax also for void *, even if it's a bit more weird. Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2611.htm> Cc: Ingo Schwarze <schwarze@openbsd.org> Cc: JeanHeyd Meneide <wg14@soasis.org> Cc: Martin Uecker <uecker@tugraz.at> Cc: <gcc@gcc.gnu.org> Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man2/msgop.2')
-rw-r--r--man2/msgop.26
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/msgop.2 b/man2/msgop.2
index 37deacd8a5..833e7cc849 100644
--- a/man2/msgop.2
+++ b/man2/msgop.2
@@ -27,10 +27,10 @@ Standard C library
.nf
.B #include <sys/msg.h>
.PP
-.BI "int msgsnd(int " msqid ", const void *" msgp ", size_t " msgsz \
-", int " msgflg );
+.BI "int msgsnd(int " msqid ", const void " msgp [. msgsz "], size_t " msgsz ,
+.BI " int " msgflg );
.PP
-.BI "ssize_t msgrcv(int " msqid ", void *" msgp ", size_t " msgsz \
+.BI "ssize_t msgrcv(int " msqid ", void " msgp [. msgsz "], size_t " msgsz \
", long " msgtyp ,
.BI " int " msgflg );
.fi