summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-25 21:35:09 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 02:20:07 +0200
commite2e59e5eaa7fb45af2729d3a1e14b1671f129f45 (patch)
tree616472906c532cf07e4f646b661a1ef703a9624b
parentd49a038d0e86847105c5945f5247d65eca5eddd4 (diff)
getunwind.2: SYNOPSIS: Mark as [[deprecated]]
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/getunwind.29
1 files changed, 2 insertions, 7 deletions
diff --git a/man2/getunwind.2 b/man2/getunwind.2
index 94935ba02..2759eeb5b 100644
--- a/man2/getunwind.2
+++ b/man2/getunwind.2
@@ -16,14 +16,9 @@ Standard C library
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.PP
-.BI "long syscall(SYS_getunwind, void " *buf ", size_t " buf_size );
+.BI "[[deprecated]] long syscall(SYS_getunwind, void " *buf \
+", size_t " buf_size );
.fi
-.PP
-.IR Note :
-glibc provides no wrapper for
-.BR getunwind (),
-necessitating the use of
-.BR syscall (2).
.SH DESCRIPTION
.I Note: this system call is obsolete.
.PP