[PATCH 16/22] sgetmask.2: SYNOPSIS: Mark as [[deprecated]]
From: Alejandro Colomar
Date: Sat Oct 30 2021 - 17:33:00 EST
Use sigprocmask(2) instead.
Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
man2/sgetmask.2 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man2/sgetmask.2 b/man2/sgetmask.2
index 59b58ceaf..37452ec05 100644
--- a/man2/sgetmask.2
+++ b/man2/sgetmask.2
@@ -30,8 +30,8 @@ sgetmask, ssetmask \- manipulation of signal mask (obsolete)
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.PP
-.B "long syscall(SYS_sgetmask, void);"
-.BI "long syscall(SYS_ssetmask, long " newmask );
+.B [[deprecated]] long syscall(SYS_sgetmask, void);
+.BI "[[deprecated]] long syscall(SYS_ssetmask, long " newmask );
.fi
.PP
.IR Note :
--
2.33.1