git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 08/22] sigprocmask.2: SYNOPSIS: Mark the legacy system call as [[deprecated]]

From
ACAlejandro Colomar <alx.manpages@gmail.com>
Date
Oct 30, 2021, 21:31 UTC
Message-ID
<20211030213131.140429-9-alx.manpages@gmail.com>
In-Reply-To
<20211030213131.140429-1-alx.manpages@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/sigprocmask.2 | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
index b82386f14..6d961f84f 100644
--- a/man2/sigprocmask.2
+++ b/man2/sigprocmask.2
@@ -35,7 +35,7 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals
 .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 */"
@@ -43,11 +43,13 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals
 .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
-- 
2.33.1
Previous: Alejandro ColomarNext: Alejandro Colomar
Message 9 of 24 in “man2: Add [[deprecated]] attribute”
  1. 00/22 man2: Add [[deprecated]] attributeAlejandro Colomar, Oct 30, 2021
  2. 01/22 bdflush.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  3. 02/22 create_module.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  4. 03/22 get_kernel_syms.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  5. 04/22 getunwind.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  6. 06/22 query_module.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  7. 05/22 iopl.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  8. 07/22 remap_file_pages.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  9. 08/22 sigprocmask.2: SYNOPSIS: Mark the legacy system call as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  10. 09/22 statfs.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  11. 10/22 stime.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  12. 11/22 ustat.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  13. 13/22 sysctl.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  14. 12/22 pthread_mutex_consistent.3: Mark *_np() old function as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  15. 14/22 vfork.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  16. 15/22 tkill.2: SYNOPSIS: Mark tkill() as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  17. 19/22 gettimeofday.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  18. 18/22 futimesat.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  19. 17/22 getitimer.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  20. 16/22 sgetmask.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  21. 20/22 setpgid.2: SYNOPSIS: Mark BSD versions of getpgrp() and setpgrp() as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  22. 21/22 sysfs.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  23. 22/22 uselib.2: SYNOPSIS: Mark as [[deprecated]]Alejandro Colomar, Oct 30, 2021
  24. Junio C HamanoOct 30, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.