NetBSD Problem Report #51

From gnats  Wed Dec 29 10:04:17 1993
Received: from alice.wonderland.org (wonderland.org [158.152.14.129]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with SMTP id JAA09631 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 29 Dec 1993 09:58:01 -0800
Message-Id: <199312291758.JAA09631@sun-lamp.cs.berkeley.edu>
Date: Sat, 25 Dec 1993 15:21:48 +0000
From: P.Galbavy@alice.wonderland.org
Sender: P.Galbavy@wonderland.org
Reply-To: P.Galbavy@alice.wonderland.org
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: vfork() returns int ?
X-Send-Pr-Version: 3.01.6

>Number:         51
>Category:       lib
>Synopsis:       vfork in prototypes to return int, shouldn't it be pid_t ?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          duplicate
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 29 10:05:02 +0000 1993
>Closed-Date:    Fri Jan 07 11:13:03 +0000 1994
>Last-Modified:  
>Originator:     Peter Galbavy
>Release:        NetBSD-current (20th December)
>Organization:
Wonderland, London
>Environment:
486, NetBSD-current, libc
System: NetBSD alice.wonderland.org 0.9a GENERICAHBBT#9 i386
>Description:
I don't know where the definitions come from (I have no POSIX documentation),
but for consistancy's sake shouldn't vfork(2) return pid_t like fork(2) ?
>How-To-Repeat:
Look in /usr/include/unistd.h
>Fix:
I guess changes the libc function and prototype...
>Release-Note:
>Audit-Trail:

From: "J.T. Conklin" <jtc>
To: GNATS administrator <gnats-admin>
Subject: Re: lib/51: vfork in prototypes to return int, shouldn't it be pid_t ?
Date: Wed, 29 Dec 1993 10:32:07 -0800


 	`J.T. Conklin' made changes to this PR.

 --- /var/tmp/gnats009875	Wed Dec 29 10:25:36 1993
 +++ /var/tmp/gnatsa09875	Wed Dec 29 10:30:32 1993
 @@ -19,7 +19,7 @@
  >Priority:       medium
  >Responsible:    gnats-admin
  >State:          open
 ->Class:          change-request
 +>Class:          duplicate (7)
  >Submitter-Id:   net
  >Arrival-Date:   Wed Dec 29 10:05:02 1993
  >Originator:     Peter Galbavy

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Fri Jan  7 11:13:03 1994
State-Changed-Why:
duplicate of fixed bug.




>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.