mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Fix broken Fn calls; Fn doesn't take a manual page section as an
argument. Terminate the last sentence with a period.
This commit is contained in:
parent
399a82cd5d
commit
b47d4cf924
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80895
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user