summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/rfork.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/rfork.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/rfork.2')
-rw-r--r--lib/libc/sys/rfork.220
1 files changed, 13 insertions, 7 deletions
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 60eb9b3..d4d4e20 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -67,7 +67,7 @@ May be set only with
.Dv RFPROC .
A helper function is provided to assist with this problem and will cause
the new process to run on the provided stack. See
-.Fn rfork_thread 3
+.Xr rfork_thread 3
for information.
.It RFSIGSHARE
If set, the kernel will force sharing the sigacts structure between the
@@ -93,10 +93,14 @@ the return value is zero.
Process id's range from 1 to the maximum integer
.Ft ( int )
value.
-.Fn Rfork
+The
+.Fn rfork
+system call
will sleep, if necessary, until required process resources are available.
.Pp
-.Fn Fork
+The
+.Fn fork
+system call
can be implemented as a call to
.Fn rfork "RFFDG | RFPROC"
but isn't for backwards compatibility.
@@ -111,7 +115,9 @@ variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Fn Rfork
+The
+.Fn rfork
+system call
will fail and no child process will be created if:
.Bl -tag -width Er
.It Bq Er EAGAIN
@@ -165,10 +171,10 @@ contains a working
.Fn clone
call that utilizes RFMEM.
The
-.Fn rfork_thread
-library call can often be used instead of
+.Xr rfork_thread 3
+function can often be used instead of
.Fn clone .
.Sh HISTORY
The
.Fn rfork
-function call first appeared in Plan9.
+function first appeared in Plan9.
OpenPOWER on IntegriCloud