Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys clarify what happens when kill(-1, ...) does no...



details:   https://anonhg.NetBSD.org/src/rev/97a9d22aa6b0
branches:  trunk
changeset: 1018591:97a9d22aa6b0
user:      nia <nia%NetBSD.org@localhost>
date:      Mon Feb 08 01:00:49 2021 +0000

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

diffstat:

 lib/libc/sys/kill.2 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 871e0f1686e8 -r 97a9d22aa6b0 lib/libc/sys/kill.2
--- a/lib/libc/sys/kill.2       Mon Feb 08 00:47:53 2021 +0000
+++ b/lib/libc/sys/kill.2       Mon Feb 08 01:00:49 2021 +0000
@@ -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 @@
 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,



Home | Main Index | Thread Index | Old Index