kill: Adjust documentation for sigqueue

Added NEWS item
Changed the section for sigqueue as its 3 for me.
This commit is contained in:
Craig Small 2020-04-24 19:29:34 +10:00
parent 4649c52249
commit 7f44382938
2 changed files with 14 additions and 0 deletions

1
NEWS
View File

@ -1,5 +1,6 @@
procps-ng NEXT
--------------
* kill: Pass int to signalled process merge #32
* pgrep: Check sanity of SG_ARG_MAX issue #152
* pidof: show worker threads Redhat #1803640
* ps.1: Mention stime alias issue #164

13
kill.1
View File

@ -44,6 +44,18 @@ The behavior of signals is explained in
.BR signal (7)
manual page.
.TP
\fB\-q\fR, \fB\-\-queue \fIvalue\fP
Use
.BR sigqueue(3)
rather than
.BR kill(2)
and the value 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.
.TP
\fB\-l\fR, \fB\-\-list\fR [\fIsignal\fR]
List signal names. This option has optional argument, which
will convert signal number to signal name, or other way round.
@ -76,6 +88,7 @@ Send the default signal, SIGTERM, to all those processes.
.BR pkill (1),
.BR renice (1),
.BR signal (7),
.BR sigqueue (3),
.BR skill (1)
.SH STANDARDS
This command meets appropriate standards. The