Subject: lib/5141: brk(2) man page incorrectly states brk()'s return value
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wennmach@geo.Uni-Koeln.DE>
List: netbsd-bugs
Date: 03/10/1998 11:12:06
>Number:         5141
>Category:       lib
>Synopsis:       man brk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 10 02:50:01 1998
>Last-Modified:
>Originator:     Dr. Lex Wennmacher
>Organization:
Institute of Geophysics
University of Cologne
-------------------------------------------------------------------------------
Murphey's law:  "Anything that can go wr
/bin/mail: Segmentation violation -- Core dumped
>Release:        <NetBSD-current source date> NetBSD-1.3
>Environment:
	
System: NetBSD hal 1.3 NetBSD 1.3 (HAL) #1: Sat Jan 24 20:17:18 MET 1998 wennmach@hal:/usr/src/sys/arch/i386/compile/HAL i386


>Description:
	
The brk(2) manual page incorrectly states that "Brk returns a pointer to the
new end of memory if successful". Instead, (char *) NULL is returned on
success.

>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: