Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 01:17:33 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Bruce Evans <bde@zeta.org.au>, Yar Tikhiy <yar@FreeBSD.ORG>, arch@FreeBSD.ORG, doc@FreeBSD.ORG
Subject:   Re: brk(2) manpage seems erroneous and confusing
Message-ID:  <20010904011733.V81307@elvis.mu.org>
In-Reply-To: <3B946EDE.616F7EDC@mindspring.com>; from tlambert2@mindspring.com on Mon, Sep 03, 2001 at 11:04:14PM -0700
References:  <20010901204223.K1753-100000@besplex.bde.org> <3B946EDE.616F7EDC@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Terry Lambert <tlambert2@mindspring.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010904011733.V81307>