From 4f17cd3e01d2ccf148728fa7d963f689671c40c4 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 11 Jan 1998 16:51:49 +0000 Subject: Add to synopsis. Correct a grammatical error. Add cross-reference to setrlimit(2). Obtained from: OpenBSD --- lib/libc/sys/fork.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libc') 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 .Fd #include .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 -- cgit v1.1