From owner-freebsd-arch Mon Sep 3 23:17:44 2001 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 3E9D037B408; Mon, 3 Sep 2001 23:17:39 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id F21B781D05; Tue, 4 Sep 2001 01:17:33 -0500 (CDT) Date: Tue, 4 Sep 2001 01:17:33 -0500 From: Alfred Perlstein To: Terry Lambert Cc: Bruce Evans , Yar Tikhiy , arch@FreeBSD.ORG, doc@FreeBSD.ORG Subject: Re: brk(2) manpage seems erroneous and confusing Message-ID: <20010904011733.V81307@elvis.mu.org> References: <20010901204223.K1753-100000@besplex.bde.org> <3B946EDE.616F7EDC@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B946EDE.616F7EDC@mindspring.com>; from tlambert2@mindspring.com on Mon, Sep 03, 2001 at 11:04:14PM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Terry Lambert [010904 01:04] wrote: > Bruce Evans wrote: > > > I'd suggest taking the brk(2) page from NetBSD, which language > > > looks much better. If noone minds, I'll do that. Of course, I'll > > > change the function prototypes in the manpage to match our unistd.h > > > unless we decide to fix the latter, too. > > > > Better change unistd.h. The kernel returns int. > > Ugh. sizeof(int) != sizeof(void *) everywhere... Oy, well, we can fuzz it by having a newbrk or something that takes a void ** argument and trick it out in libc. Anyone think that's a good idea? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' '"Java" developer, like "special" Olympics, right?' - Bill Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message