aboutsummaryrefslogtreecommitdiffstats
path: root/man3/backtrace.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/backtrace.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/backtrace.3')
-rw-r--r--man3/backtrace.37
1 files changed, 4 insertions, 3 deletions
diff --git a/man3/backtrace.3 b/man3/backtrace.3
index 552eaa173f..43c3612ad1 100644
--- a/man3/backtrace.3
+++ b/man3/backtrace.3
@@ -35,10 +35,11 @@ Standard C library
.nf
.B #include <execinfo.h>
.PP
-.BI "int backtrace(void **" buffer ", int " size );
+.BI "int backtrace(void *" buffer [. size "], int " size );
.PP
-.BI "char **backtrace_symbols(void *const *" buffer ", int " size );
-.BI "void backtrace_symbols_fd(void *const *" buffer ", int " size ", int " fd );
+.BI "char **backtrace_symbols(void *const " buffer [. size "], int " size );
+.BI "void backtrace_symbols_fd(void *const " buffer [. size "], int " size ", \
+int " fd );
.fi
.SH DESCRIPTION
.BR backtrace ()