Hello, t...@!

There is a diff for fork1.9 manual page. The current manual does not
mention the latest function argument, rnewprocp


Index: fork1.9
===================================================================
RCS file: /cvs/src/share/man/man9/fork1.9,v
retrieving revision 1.11
diff -N -u -p fork1.9
--- fork1.9     26 Jun 2008 05:42:08 -0000      1.11
+++ fork1.9     23 Jul 2009 11:08:07 -0000
@@ -39,7 +39,17 @@
 .Fd #include <sys/types.h>
 .Fd #include <sys/proc.h>
 .Ft int
-.Fn "fork1" "struct proc *p1" "int exitsig" "int flags" "void *stack"
"size_t stacksize" "void (*func)(void *)" "void *arg" "register_t
*retval"
+.Fo "fork1"
+.Fa "struct proc *p1"
+.Fa "int exitsig"
+.Fa "int flags"
+.Fa "void *stack"
+.Fa "size_t stacksize"
+.Fa "void (*func)(void *)"
+.Fa "void *arg"
+.Fa "register_t *retval"
+.Fa "struct proc **rnewprocp"
+.Fc
 .Sh DESCRIPTION
 .Fn fork1
 creates a new process out of
@@ -141,6 +151,10 @@ is not
 .Dv NULL ,
 it is the argument to the previous function.
 It defaults to a pointer to the new process.
+.Pp
+The pointer of the new process structure is passed via
+.Fa rnewprocp
+argument.
 .Sh RETURN VALUES
 Upon successful completion of the fork operation,
 .Fn fork1

Reply via email to