diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-10-25 21:36:49 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-09-05 02:28:08 +0200 |
commit | ecf75fcdbc6c90178bd38f94a5b23de6582f177b (patch) | |
tree | f90be3750ce3c707f0abb1c17d009ed9b54c04b8 | |
parent | 93e0a2ac85c92370f99b2795a1c739a295c757c0 (diff) |
sigprocmask.2: SYNOPSIS: Mark the legacy system call as [[deprecated]]
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | man2/sigprocmask.2 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index c2d7bd8c8..b5573e34a 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -18,7 +18,7 @@ Standard C library .nf /* Prototype for the glibc wrapper function */ .BI "int sigprocmask(int " how ", const sigset_t *restrict " set , -.BI " sigset_t *restrict " oldset ); +.BI " sigset_t *restrict " oldset ); .PP .BR "#include <signal.h>" " /* Definition of " SIG_* " constants */" .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" @@ -26,11 +26,13 @@ Standard C library .PP /* Prototype for the underlying system call */ .BI "int syscall(SYS_rt_sigprocmask, int " how ", const kernel_sigset_t *" set , -.BI " kernel_sigset_t *" oldset ", size_t " sigsetsize ); +.BI " kernel_sigset_t *" oldset \ +", size_t " sigsetsize ); .PP -/* Prototype for the legacy system call (deprecated) */ -.BI "int syscall(SYS_sigprocmask, int " how ", const old_kernel_sigset_t *" set , -.BI " old_kernel_sigset_t *" oldset ); +/* Prototype for the legacy system call */ +.BI "[[deprecated]] int syscall(SYS_sigprocmask, int " how , +.BI " const old_kernel_sigset_t *" set , +.BI " old_kernel_sigset_t *" oldset ); .fi .PP .RS -4 |