delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
Date: | Mon, 25 Feb 2002 14:01:01 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | CBFalconer <cbfalconer AT yahoo DOT com> |
cc: | djgpp-workers AT delorie DOT com |
Subject: | Re: Malloc/free DJGPP code |
In-Reply-To: | <3C7A0C9A.6D699A31@yahoo.com> |
Message-ID: | <Pine.SUN.3.91.1020225135930.2286F-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Mon, 25 Feb 2002, CBFalconer wrote: > Incidentally, I was surprised to learn (from info libc) that sbrk > returns -1 for failure rather than NULL. Is this correct, or > possibly a documentation error? It is correct. sbrk is available in many Unix systems, so we must return what sbrk returns on Unix, which is -1.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |