Deleted Added
full compact
rfork.2 (108028) rfork.2 (108087)
1.\"
2.\" This manual page is taken directly from Plan9, and modified to
3.\" describe the actual BSD implementation. Permission for
4.\" use of this page comes from Rob Pike <rob@plan9.att.com>.
5.\"
1.\"
2.\" This manual page is taken directly from Plan9, and modified to
3.\" describe the actual BSD implementation. Permission for
4.\" use of this page comes from Rob Pike <rob@plan9.att.com>.
5.\"
6.\" $FreeBSD: head/lib/libc/sys/rfork.2 108028 2002-12-18 09:22:32Z ru $
6.\" $FreeBSD: head/lib/libc/sys/rfork.2 108087 2002-12-19 09:40:28Z ru $
7.\"
8.Dd January 12, 1996
9.Dt RFORK 2
10.Os
11.Sh NAME
12.Nm rfork
13.Nd manipulate process resources
14.Sh LIBRARY

--- 11 unchanged lines hidden (view full) ---

26selects which resources of the
27invoking process (parent) are shared
28by the new process (child) or initialized to
29their default values.
30The resources include
31the open file descriptor table (which, when shared, permits processes
32to open and close files for other processes),
33and open files.
7.\"
8.Dd January 12, 1996
9.Dt RFORK 2
10.Os
11.Sh NAME
12.Nm rfork
13.Nd manipulate process resources
14.Sh LIBRARY

--- 11 unchanged lines hidden (view full) ---

26selects which resources of the
27invoking process (parent) are shared
28by the new process (child) or initialized to
29their default values.
30The resources include
31the open file descriptor table (which, when shared, permits processes
32to open and close files for other processes),
33and open files.
34.Fa Flags
34The
35.Fa flags
36argument
35is the logical OR of some subset of:
36.Bl -tag -width "RFCNAMEG" -compact -offset indent
37.It RFPROC
38If set a new process is created; otherwise changes affect the
39current process.
40The current implementation requires this flag to always be set.
41.It RFNOWAIT
42If set, the child process will be dissociated from the parent.

--- 92 unchanged lines hidden (view full) ---

135on the total number of
136processes under execution by a single user would be exceeded.
137The limit is given by the
138.Xr sysctl 3
139MIB variable
140.Dv KERN_MAXPROCPERUID .
141.It Bq Er EAGAIN
142The user is not the super user, and
37is the logical OR of some subset of:
38.Bl -tag -width "RFCNAMEG" -compact -offset indent
39.It RFPROC
40If set a new process is created; otherwise changes affect the
41current process.
42The current implementation requires this flag to always be set.
43.It RFNOWAIT
44If set, the child process will be dissociated from the parent.

--- 92 unchanged lines hidden (view full) ---

137on the total number of
138processes under execution by a single user would be exceeded.
139The limit is given by the
140.Xr sysctl 3
141MIB variable
142.Dv KERN_MAXPROCPERUID .
143.It Bq Er EAGAIN
144The user is not the super user, and
143the soft resource limit corresponding to the resource parameter
145the soft resource limit corresponding to the
146.Fa resource
147argument
144.Dv RLIMIT_NOFILE
145would be exceeded (see
146.Xr getrlimit 2 ) .
147.It Bq Er EINVAL
148The RFPROC flag was not specified.
149.It Bq Er EINVAL
150Both the RFFDG and the RFCFDG flags were specified.
151.It Bq Er EINVAL

--- 29 unchanged lines hidden ---
148.Dv RLIMIT_NOFILE
149would be exceeded (see
150.Xr getrlimit 2 ) .
151.It Bq Er EINVAL
152The RFPROC flag was not specified.
153.It Bq Er EINVAL
154Both the RFFDG and the RFCFDG flags were specified.
155.It Bq Er EINVAL

--- 29 unchanged lines hidden ---