52 lines
1.3 KiB
Diff
52 lines
1.3 KiB
Diff
--- man-pages-2.63/man2/tkill.2.pom 2007-06-22 22:40:07.000000000 +0200
|
|
+++ man-pages-2.63/man2/tkill.2 2007-08-01 11:42:23.000000000 +0200
|
|
@@ -25,12 +25,10 @@
|
|
.\"
|
|
.TH TKILL 2 2007-06-01 "Linux" "Linux Programmer's Manual"
|
|
.SH NAME
|
|
-tkill, tgkill \- send a signal to a single process
|
|
+tkill \- send a signal to a single process
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.BI "int tkill(int " tid ", int " sig );
|
|
-.sp
|
|
-.BI "int tgkill(int " tgid ", int " tid ", int " sig );
|
|
.fi
|
|
.SH DESCRIPTION
|
|
The
|
|
@@ -50,19 +48,6 @@ With
|
|
however, one can address each process
|
|
by its unique TID.
|
|
.PP
|
|
-The
|
|
-.BR tgkill ()
|
|
-call improves on
|
|
-.BR tkill ()
|
|
-by allowing the caller to
|
|
-specify the thread group ID of the thread to be signaled, protecting
|
|
-against TID reuse.
|
|
-If the tgid is specified as \-1,
|
|
-.BR tgkill ()
|
|
-degenerates
|
|
-into
|
|
-.BR tkill ().
|
|
-.PP
|
|
These are the raw system call interfaces, meant for internal
|
|
thread library use.
|
|
.SH "RETURN VALUE"
|
|
@@ -84,13 +69,9 @@ No process with the specified thread ID
|
|
.SH VERSIONS
|
|
.BR tkill ()
|
|
is supported since Linux 2.4.19 / 2.5.4.
|
|
-.BR tgkill ()
|
|
-was added in Linux 2.5.75.
|
|
.SH "CONFORMING TO"
|
|
.BR tkill ()
|
|
-and
|
|
-.BR tgkill ()
|
|
-are Linux specific and should not be used
|
|
+is Linux specific and should not be used
|
|
in programs that are intended to be portable.
|
|
.SH NOTES
|
|
Glibc does not provide wrapper for these system calls; call them using
|