Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/kill Clarify `kill -0'. Note standard exit codes.



details:   https://anonhg.NetBSD.org/src/rev/942744b33216
branches:  trunk
changeset: 823438:942744b33216
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Apr 22 22:42:03 2017 +0000

description:
Clarify `kill -0'.  Note standard exit codes.

diffstat:

 bin/kill/kill.1 |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r ff806ce1ac0f -r 942744b33216 bin/kill/kill.1
--- a/bin/kill/kill.1   Sat Apr 22 22:36:00 2017 +0000
+++ b/bin/kill/kill.1   Sat Apr 22 22:42:03 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kill.1,v 1.26 2016/10/02 21:00:54 abhinav Exp $
+.\"    $NetBSD: kill.1,v 1.27 2017/04/22 22:42:03 riastradh Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"    @(#)kill.1      8.2 (Berkeley) 4/28/95
 .\"
-.Dd August 11, 2016
+.Dd April 22, 2017
 .Dt KILL 1
 .Os
 .Sh NAME
@@ -103,6 +103,8 @@
 .Pp
 Some of the more commonly used signals:
 .Bl -tag -width Ds -compact
+.It 0
+do nothing, only test whether process exists
 .It 1
 HUP (hang up)
 .It 2
@@ -129,6 +131,8 @@
 See
 .Xr csh 1
 for details.
+.Sh DIAGNOSTICS
+.Ex -std
 .Sh SEE ALSO
 .Xr csh 1 ,
 .Xr pgrep 1 ,



Home | Main Index | Thread Index | Old Index