Subject: kern/21606: fork1(9) is wrong
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kristerw@netbsd.org>
List: netbsd-bugs
Date: 05/17/2003 01:27:10
>Number: 21606
>Category: kern
>Synopsis: fork1(9) is wrong
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat May 17 01:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Krister Walfridsson
>Release: Source as of 2003-05-16
>Organization:
>Environment:
>Description:
fork1(9) describes the function as it existed in May 1999. It has
changed some since then...
>How-To-Repeat:
man 9 fork1
and notice that it says
int
fork1(struct proc *p1, int flags, register_t *retval,
struct proc **rnewprocp);
where the source says
int
fork1(struct lwp *l1, int flags, int exitsig,
void *stack, size_t stacksize,
void (*func)(void *), void *arg, register_t *retval,
struct proc **rnewprocp)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: