]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sgetmask.2: SYNOPSIS: Mark as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Fri, 29 Oct 2021 00:33:27 +0000 (02:33 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 00:44:51 +0000 (02:44 +0200)
Use sigprocmask(2) instead.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/sgetmask.2

index d6d0bba2b1d9b7fe37c5e42d86fef82890002254..5000e9d405b4edf72f8d741051cabb9a8c5f01b4 100644 (file)
@@ -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" ;