summaryrefslogtreecommitdiffstats
path: root/misc-utils/kill.1
diff options
context:
space:
mode:
authorKarel Zak2011-02-28 17:15:40 +0100
committerKarel Zak2011-02-28 17:15:40 +0100
commita1504d8bf5239c451c3f4e8ab95e312bb60be4e8 (patch)
treed56ee267d29109628a5826f03299b87c52999ee7 /misc-utils/kill.1
parentkill: translate "-l <num>" to RT<n> (diff)
downloadkernel-qcow2-util-linux-a1504d8bf5239c451c3f4e8ab95e312bb60be4e8.tar.gz
kernel-qcow2-util-linux-a1504d8bf5239c451c3f4e8ab95e312bb60be4e8.tar.xz
kernel-qcow2-util-linux-a1504d8bf5239c451c3f4e8ab95e312bb60be4e8.zip
kill: add -q sigval to use sigqueue(2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/kill.1')
-rw-r--r--misc-utils/kill.113
1 files changed, 13 insertions, 0 deletions
diff --git a/misc-utils/kill.1 b/misc-utils/kill.1
index 4591f4408..fad706ab5 100644
--- a/misc-utils/kill.1
+++ b/misc-utils/kill.1
@@ -8,6 +8,8 @@ kill \- terminate a process
.B kill
.RB [ \-s
.IR signal | \fB\-p\fP ]
+.RB [ \-q
+.IR sigval ]
.RN [ \-a ]
.RB [ \-\- ]
.IR pid ...
@@ -84,6 +86,17 @@ Specify that
.B kill
should only print the process id (pid)
of the named processes, and not send any signals.
+.TP
+.BI \-q " sigval"
+Use
+.BR sigqueue (2)
+rather than
+.BR kill (2)
+and the sigval argument is used to specify an integer to be sent with the
+signal. If the receiving process has installed a handler for this signal using
+the SA_SIGINFO flag to
+.BR sigaction (2),
+then it can obtain this data via the si_value field of the siginfo_t structure.
.SH "SEE ALSO"
.BR bash (1),
.BR tcsh (1),