aboutsummaryrefslogtreecommitdiffstats
path: root/man3/memcmp.3
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 /man3/memcmp.3
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 'man3/memcmp.3')
-rw-r--r--man3/memcmp.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/memcmp.3 b/man3/memcmp.3
index df2d1dd164..d9dfcaea5a 100644
--- a/man3/memcmp.3
+++ b/man3/memcmp.3
@@ -17,7 +17,7 @@ Standard C library
.nf
.B #include <string.h>
.PP
-.BI "int memcmp(const void *" s1 ", const void *" s2 ", size_t " n );
+.BI "int memcmp(const void " s1 [. n "], const void " s2 [. n "], size_t " n );
.fi
.SH DESCRIPTION
The