summaryrefslogtreecommitdiff
path: root/bin/kill
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-28 16:55:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-28 16:55:16 +0000
commit85f35d7efb9b5c6f9ed17358a18cec9a45a63773 (patch)
treed1c59f3c3224d4ce87fc8533aad1ec60c54e05c7 /bin/kill
parente952f242990e26626fafd7bfd35a2f68ebc8c17d (diff)
document signal 0
Diffstat (limited to 'bin/kill')
-rw-r--r--bin/kill/kill.112
1 files changed, 5 insertions, 7 deletions
diff --git a/bin/kill/kill.1 b/bin/kill/kill.1
index 770a03d42d9..5a7482461e2 100644
--- a/bin/kill/kill.1
+++ b/bin/kill/kill.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.1,v 1.13 2000/04/15 11:45:53 aaron Exp $
+.\" $OpenBSD: kill.1,v 1.14 2000/06/28 16:55:15 deraadt Exp $
.\" $NetBSD: kill.1,v 1.8 1995/09/07 06:30:26 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -119,6 +119,10 @@ ALRM (alarm clock)
TERM (software termination signal)
.El
.Pp
+A signal number of 0 (kill -0 pid) checks the validity of a
+certain pid, to see if it exists.
+An exit code of 0 means that the specified process exists.
+.Pp
The
.Nm
utility is built-in to
@@ -148,9 +152,3 @@ A
.Nm
command appeared in
.At v6 .
-.Sh BUGS
-A replacement for the command
-.Dq Li kill 0
-for
-.Xr csh 1
-users should be provided.