summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1998-01-11 16:51:49 +0000
committeralex <alex@FreeBSD.org>1998-01-11 16:51:49 +0000
commit4f17cd3e01d2ccf148728fa7d963f689671c40c4 (patch)
treeca31a93380d9e0a5a56f81791b31854cb6651e04 /lib/libc
parent85d8c8dd5194daca0deb053ad381b8ecd32f99be (diff)
downloadFreeBSD-src-4f17cd3e01d2ccf148728fa7d963f689671c40c4.zip
FreeBSD-src-4f17cd3e01d2ccf148728fa7d963f689671c40c4.tar.gz
Add <sys/types.h> to synopsis.
Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/fork.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index f84cd1b..38c5409 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)fork.2 8.1 (Berkeley) 6/4/93
+.\" $Id$
.\"
.Dd June 4, 1993
.Dt FORK 2
@@ -38,6 +39,7 @@
.Nm fork
.Nd create a new process
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <unistd.h>
.Ft pid_t
.Fn fork void
@@ -67,7 +69,7 @@ This descriptor copying is also used by the shell to
establish standard input and output for newly created processes
as well as to set up pipes.
.It
-The child processes resource utilizations
+The child process' resource utilizations
are set to 0; see
.Xr setrlimit 2 .
.El
@@ -115,6 +117,7 @@ There is insufficient swap space for the new process.
.Sh SEE ALSO
.Xr execve 2 ,
.Xr rfork 2 ,
+.Xr setrlimit 2 ,
.Xr vfork 2 ,
.Xr wait 2
.Sh HISTORY
OpenPOWER on IntegriCloud