diff mbox series

[15/22] tkill.2: SYNOPSIS: Mark tkill() as [[deprecated]]

Message ID 20211030213131.140429-16-alx.manpages@gmail.com
State New
Headers show
Series man2: Add [[deprecated]] attribute | expand

Commit Message

Alejandro Colomar Oct. 30, 2021, 9:31 p.m. UTC
tkill(2) has been superseeded by tgkill(2).

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/tkill.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/man2/tkill.2 b/man2/tkill.2
index 6e1afcd36..8a6c45380 100644
--- a/man2/tkill.2
+++ b/man2/tkill.2
@@ -35,7 +35,7 @@  tkill, tgkill \- send a signal to a thread
 .BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .PP
-.BI "int syscall(SYS_tkill, pid_t " tid ", int " sig );
+.BI "[[deprecated]] int syscall(SYS_tkill, pid_t " tid ", int " sig );
 .PP
 .B #include <signal.h>
 .PP