Module Name:    src
Committed By:   nia
Date:           Mon Feb  8 01:00:49 UTC 2021

Modified Files:
        src/lib/libc/sys: kill.2

Log Message:
clarify what happens when kill(-1, ...) does nothing


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/sys/kill.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/kill.2
diff -u src/lib/libc/sys/kill.2:1.23 src/lib/libc/sys/kill.2:1.24
--- src/lib/libc/sys/kill.2:1.23	Tue Jul 15 17:39:21 2014
+++ src/lib/libc/sys/kill.2	Mon Feb  8 01:00:49 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kill.2,v 1.23 2014/07/15 17:39:21 wiz Exp $
+.\"	$NetBSD: kill.2,v 1.24 2021/02/08 01:00:49 nia Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)kill.2	8.3 (Berkeley) 4/19/94
 .\"
-.Dd July 9, 2014
+.Dd February 8, 2021
 .Dt KILL 2
 .Os
 .Sh NAME
@@ -85,7 +85,9 @@ the signal is sent to all processes excl
 system processes and the process sending the signal.
 If the user is not the super user, the signal is sent to all processes
 with the same uid as the user excluding the process sending the signal.
-No error is returned if any process could be signaled.
+No error is returned if any process could be signaled, otherwise
+.Er ESRCH
+is returned.
 .El
 .Pp
 For compatibility with System V,

Reply via email to