summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/rfork_thread.3
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-08-01 12:04:32 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-08-01 12:04:32 +0000
commitf153c10891f2752c80754078285a1fef43276b0f (patch)
tree72236bfa58e75dbba99dcf9dd00619458e9ee44e /lib/libc/gen/rfork_thread.3
parent3425197e87b33e0420ca779a1d7b32e22bef2c18 (diff)
downloadFreeBSD-src-f153c10891f2752c80754078285a1fef43276b0f.zip
FreeBSD-src-f153c10891f2752c80754078285a1fef43276b0f.tar.gz
Fix broken Fn calls; Fn doesn't take a manual page section as an
argument. Terminate the last sentence with a period.
Diffstat (limited to 'lib/libc/gen/rfork_thread.3')
-rw-r--r--lib/libc/gen/rfork_thread.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/gen/rfork_thread.3 b/lib/libc/gen/rfork_thread.3
index 9629534..eafde60 100644
--- a/lib/libc/gen/rfork_thread.3
+++ b/lib/libc/gen/rfork_thread.3
@@ -38,7 +38,7 @@
.Ft int
.Fn rfork_thread "int flags" "void *stack" "int (*func)(void *arg)" "void *arg"
.Sh DESCRIPTION
-.Fn rfork_thread 3
+.Fn rfork_thread
is a helper function for
.Xr rfork 2 .
It arranges for a new process to be created and the child process will
@@ -49,7 +49,7 @@ Using this function should avoid the need to implement complex stack
swap code.
.Sh RETURN VALUES
Upon successful completion,
-.Fn rfork_thread 3
+.Fn rfork_thread
returns the process ID of the child process to the parent process.
Otherwise, a value of -1 is returned
to the parent process, no child process is created, and the global
@@ -58,7 +58,7 @@ variable
is set to indicate the error.
.Pp
The child process context is not aware of a return from the
-.Fn rfork_thread 3
+.Fn rfork_thread
function as it begins executing directly with the supplied function.
.Sh ERRORS
See
@@ -72,6 +72,6 @@ for error return codes.
.Xr vfork 2
.Sh HISTORY
The
-.Fn rfork_thread 3
+.Fn rfork_thread
function call first appeared in
-.Fx 5.0
+.Fx 5.0 .
OpenPOWER on IntegriCloud