summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-06-06 06:57:54 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-06-06 06:57:54 +0000
commit34dcd878d6f2e9072d89cd10ade4f31fb744dba1 (patch)
tree62561a74dd74f3958895eb7c0d686ee178a59baf /lib/libc/sys
parent44ded7ffda21f64846aeae3dc7e72bb6584b1428 (diff)
Grammatical, spelling, and format fixes
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/fork.24
-rw-r--r--lib/libc/sys/kill.230
2 files changed, 18 insertions, 16 deletions
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index e8c51ed267e..6d3b9b3b43a 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fork.2,v 1.7 1999/06/05 04:16:08 aaron Exp $
+.\" $OpenBSD: fork.2,v 1.8 1999/06/06 06:57:53 pjanzen Exp $
.\" $NetBSD: fork.2,v 1.6 1995/02/27 12:32:36 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -97,7 +97,7 @@ This limit is configuration-dependent.
The limit
.Dv RLIMIT_NPROC
on the total number of
-processes under execution by a this user ID would be exceeded.
+processes under execution by the user ID would be exceeded.
.It Bq Er ENOMEM
There is insufficient swap space for the new process.
.El
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index 0f1d1e3e8aa..6db4dcee96a 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.9 1999/06/05 04:16:08 aaron Exp $
+.\" $OpenBSD: kill.2,v 1.10 1999/06/06 06:57:53 pjanzen Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -68,7 +68,9 @@ by
the real or effective user ID of the receiving process must match
that of the sending process or the user must have appropriate privileges
(such as given by a set-user-ID program or the user is the super-user).
-A single exception is the signal SIGCONT, which may always be sent
+A single exception is the signal
+.Dv SIGCONT ,
+which may always be sent
to any descendant of the current process.
.Bl -tag -width Ds
.It \&If Fa pid No \&is greater than zero :
@@ -96,26 +98,26 @@ the non-root user, to prevent attacks against such processes, some signal
deliveries are not permitted and return the error
.Er EPERM .
The following signals are allowed through to this class of processes:
-.Em SIGKILL ,
-.Em SIGINT ,
-.Em SIGTERM ,
-.Em SIGSTOP ,
-.Em SIGTTIN ,
-.Em SIGTTOU ,
-.Em SIGTSTP ,
-.Em SIGHUP ,
-.Em SIGUSR1 ,
-.Em SIGUSR2 .
+.Dv SIGKILL ,
+.Dv SIGINT ,
+.Dv SIGTERM ,
+.Dv SIGSTOP ,
+.Dv SIGTTIN ,
+.Dv SIGTTOU ,
+.Dv SIGTSTP ,
+.Dv SIGHUP ,
+.Dv SIGUSR1 ,
+.Dv SIGUSR2 .
.Pp
For compatibility with System V,
-if the process number is negative but not -1,
+if the process number is negative but not \-1,
the signal is sent to all processes whose process group ID
is equal to the absolute value of the process number.
This is a variant of
.Xr killpg 3 .
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
-Otherwise, a value of -1 is returned and
+Otherwise, a value of \-1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS