summaryrefslogtreecommitdiff
path: root/lib/libc/sys/kill.2
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-02-27 12:31:34 +0000
committercgd <cgd@NetBSD.org>1995-02-27 12:31:34 +0000
commit4eab61bd40c07b2fc612ad50cface2b77fc110d0 (patch)
tree7118747f1d9919499fdea5d7c6908c5cfe04e5a8 /lib/libc/sys/kill.2
parentc67e54a2e2b9f3d455a30d68ea4e09e56d7b9136 (diff)
merge with lite, keeping most local changes. clean up Ids
Diffstat (limited to 'lib/libc/sys/kill.2')
-rw-r--r--lib/libc/sys/kill.220
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index 8769e86a32a..6b7157f35f7 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1980, 1991 Regents of the University of California.
-.\" All rights reserved.
+.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
+.\"
+.\" Copyright (c) 1980, 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -29,17 +31,15 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)kill.2 6.6 (Berkeley) 3/10/91
-.\" $Id: kill.2,v 1.6 1994/01/10 23:54:22 jtc Exp $
+.\" @(#)kill.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd March 10, 1991
+.Dd April 19, 1994
.Dt KILL 2
.Os BSD 4
.Sh NAME
.Nm kill
.Nd send signal to a process
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
.Fd #include <signal.h>
.Ft int
.Fn kill "pid_t pid" "int sig"
@@ -82,11 +82,11 @@ process has permission;
this is a variant of
.Xr killpg 2 .
.It \&If Fa pid No \&is -1 :
-If the user has super user privileges,
+If the user has super-user privileges,
the signal is sent to all processes excluding
-system processes. If the user is not the super user,
-the signal is sent to all processes with the same uid as the user
-except the process sending the signal.
+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.
.El
.Pp