summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-29 02:33:27 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 02:44:51 +0200
commit4d48d43bf6b8537dbb0848c99f7b50a9c52f8d37 (patch)
tree9801225bc00bb51154cb639f54952a929c1ddc18
parentba8a0d119dcdbf285ddbb5dce9a71d531cecc1a3 (diff)
sgetmask.2: SYNOPSIS: Mark as [[deprecated]]
Use sigprocmask(2) instead. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/sgetmask.29
1 files changed, 2 insertions, 7 deletions
diff --git a/man2/sgetmask.2 b/man2/sgetmask.2
index d6d0bba2b..5000e9d40 100644
--- a/man2/sgetmask.2
+++ b/man2/sgetmask.2
@@ -13,14 +13,9 @@ Standard C library
.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 :
-glibc provides no wrappers for these functions,
-necessitating the use of
-.BR syscall (2).
.SH DESCRIPTION
These system calls are obsolete.
.IR "Do not use them" ;