2007-06-11 09:23:41 +00:00
|
|
|
--- man-pages-2.55/man2/tkill.2.pom 2007-05-26 17:22:28.000000000 +0200
|
|
|
|
+++ man-pages-2.55/man2/tkill.2 2007-06-11 11:06:12.000000000 +0200
|
|
|
|
@@ -25,12 +25,10 @@
|
2006-12-08 12:08:28 +00:00
|
|
|
.\"
|
2007-06-11 09:23:41 +00:00
|
|
|
.TH TKILL 2 2007-06-01 "Linux 2.6.6" "Linux Programmer's Manual"
|
2006-12-08 12:08:28 +00:00
|
|
|
.SH NAME
|
|
|
|
-tkill, tgkill \- send a signal to a single process
|
|
|
|
+tkill \- send a signal to a single process
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
2007-06-11 09:23:41 +00:00
|
|
|
.BI "int tkill(int " tid ", int " sig );
|
2006-12-08 12:08:28 +00:00
|
|
|
-.sp
|
2007-06-11 09:23:41 +00:00
|
|
|
-.BI "int tgkill(int " tgid ", int " tid ", int " sig );
|
2006-12-08 12:08:28 +00:00
|
|
|
.fi
|
|
|
|
.SH DESCRIPTION
|
2007-05-30 14:18:29 +00:00
|
|
|
The
|
2007-06-11 09:23:41 +00:00
|
|
|
@@ -47,19 +45,6 @@
|
2007-05-30 14:18:29 +00:00
|
|
|
however, one can address each process
|
2006-12-08 12:08:28 +00:00
|
|
|
by its unique TID.
|
|
|
|
.PP
|
2007-05-30 14:18:29 +00:00
|
|
|
-The
|
|
|
|
-.BR tgkill ()
|
|
|
|
-call improves on
|
|
|
|
-.BR tkill ()
|
|
|
|
-by allowing the caller to
|
2006-12-08 12:08:28 +00:00
|
|
|
-specify the thread group ID of the thread to be signalled, protecting
|
2007-05-11 08:49:44 +00:00
|
|
|
-against TID reuse.
|
2007-05-30 14:18:29 +00:00
|
|
|
-If the tgid is specified as \-1,
|
|
|
|
-.BR tgkill ()
|
|
|
|
-degenerates
|
|
|
|
-into
|
|
|
|
-.BR tkill ().
|
2006-12-08 12:08:28 +00:00
|
|
|
-.PP
|
|
|
|
These are the raw system call interfaces, meant for internal
|
|
|
|
thread library use.
|
|
|
|
.SH "RETURN VALUE"
|
2007-06-11 09:23:41 +00:00
|
|
|
@@ -81,13 +66,9 @@
|
|
|
|
.SH VERSIONS
|
|
|
|
.BR tkill ()
|
|
|
|
is supported since Linux 2.4.19 / 2.5.4.
|
|
|
|
-.BR tgkill ()
|
|
|
|
-was added in Linux 2.5.75.
|
2006-12-08 12:08:28 +00:00
|
|
|
.SH "CONFORMING TO"
|
2007-05-30 14:18:29 +00:00
|
|
|
.BR tkill ()
|
|
|
|
-and
|
|
|
|
-.BR tgkill ()
|
|
|
|
-are Linux specific and should not be used
|
|
|
|
+is Linux specific and should not be used
|
2006-12-08 12:08:28 +00:00
|
|
|
in programs that are intended to be portable.
|
2007-06-11 09:23:41 +00:00
|
|
|
.SH NOTES
|
|
|
|
Glibc does not provide wrapper for these system calls; call them using
|