From j@uriah.heep.sax.de  Thu Jul 20 23:02:34 1995
Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11])
          by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id XAA09417
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Jul 1995 23:02:30 -0700
Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP
	(5.67b+/DEC-Ultrix/4.3) id AA09826; Fri, 21 Jul 1995 02:22:50 +0200
Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP
	id CAA24101 for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Jul 1995 02:22:50 +0200
Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id PAA18040; Thu, 20 Jul 1995 15:11:25 +0200
Message-Id: <199507201311.PAA18040@uriah.heep.sax.de>
Date: Thu, 20 Jul 1995 15:11:25 +0200
From: J Wunsch <j@uriah.heep.sax.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: man page and code for brk(2) disagree
X-Send-Pr-Version: 3.2

>Number:         630
>Category:       docs
>Synopsis:       man page and code for brk(2) disagree
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 23:10:01 1995
>Closed-Date:    Sun Jul 23 09:01:28 MET DST 1995
>Last-Modified:  Thu Aug  3 08:57:34 PDT 1995
>Originator:     J Wunsch
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
>Environment:


>Description:

Posted on behalf of Poul-Henning Kamp:

~From: Poul-Henning Kamp <phk@freefall.cdrom.com>
~Message-Id: <199507201103.EAA03378@freefall.cdrom.com>
~Subject: Re: brk(2)
~To: core@freebsd.org
~Date: Thu, 20 Jul 1995 04:03:34 -0700 (PDT)

> As Poul-Henning Kamp wrote:
> > 
> > The manpage says that brk(2) returns a pointer, src/lib/libc/i386/sys/brk.S
> > quite clearly returns 0, who's right ?
> 
> The source code's always right.  :-) Having brk() returning a pointer
> is an interface change compared to the historical versions:
> 

Joerg, can I get you to file a send-pr on it ?  My access is rotten :-(

>How-To-Repeat:


>Fix:
	
Fix the man page, and verify everything against historical versions
of brk(), including the one in FreeBSD 1.1.5.1.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Jul 23 09:01:28 MET DST 1995 
State-Changed-Why:  
Man page fixed: 
/home/ncvs/src/lib/libc/sys/brk.2,v  <--  brk.2 
new revision: 1.2; previous revision: 1.1 

>Unformatted:



