summaryrefslogtreecommitdiff
path: root/usr/src/man/man2/kill.2
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man2/kill.2')
-rw-r--r--usr/src/man/man2/kill.221
1 files changed, 7 insertions, 14 deletions
diff --git a/usr/src/man/man2/kill.2 b/usr/src/man/man2/kill.2
index 6f15904f49..794cb22ef1 100644
--- a/usr/src/man/man2/kill.2
+++ b/usr/src/man/man2/kill.2
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH kill 2 "22 Mar 2004" "SunOS 5.11" "System Calls"
+.TH KILL 2 "Mar 22, 2004"
.SH NAME
kill \- send a signal to a process or a group of processes
.SH SYNOPSIS
@@ -71,23 +71,19 @@ signal is sent, and \fBerrno\fR is set to indicate the error.
The \fBkill()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
The \fIsig\fR argument is not a valid signal number.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 10n
-.rt
The \fIsig\fR argument is \fBSIGKILL\fR and the \fIpid\fR argument is
\fB(pid_t)-1\fR (that is, the calling process does not have permission to send
the signal to any of the processes specified by \fIpid\fR).
@@ -102,12 +98,10 @@ signal to a process with a different session ID.
.sp
.ne 2
-.mk
.na
\fB\fBESRCH\fR\fR
.ad
.RS 10n
-.rt
No process or process group can be found corresponding to that specified by
\fIpid\fR.
.RE
@@ -125,15 +119,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStandard
+Interface Stability Standard
_
-MT-LevelAsync-Signal-Safe
+MT-Level Async-Signal-Safe
.TE
.SH SEE ALSO