Subject: CVS commit: basesrc
To: None <email@example.com>
From: Perry E. Metzger <firstname.lastname@example.org>
Date: 07/06/1999 09:36:16
Module Name: basesrc
Committed By: perry
Date: Tue Jul 6 16:36:16 UTC 1999
Clean up this mess a lot. I believe we still have the following
issues (at least):
1) sbrk is defined as returning char *, which violates XPG
2) I'm not clear on what happens if you try to sbrk() on a negative
incr that is less than the page size. I'm guessing "nothing", but we
should document this behavior.
3) XPG says some interesting things about whether new pages are
guaranteed zeroed. We say nothing about this. We should document our
4) It isn't clear if *we* guarantee that malloc and sbrk can be mixed
in our API (I've documented that it isn't universally portable.)
We really should clean these up, too.
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 basesrc/lib/libc/sys/brk.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.