[EMAIL PROTECTED] wrote:
> The semantics of malloc() have been defined since almost the dawn of
> time. From the current manpage:
> RETURN VALUES
> The malloc() and calloc() functions return a pointer to the allocated
> memory if successful; otherwise a NULL pointer is returned.
> Nowhere does it say that allocated memory might not exist. Nowhere
> does it say that I have to touch all the allocated pages to make
> sure they are really there. Nowhere does it say process death at
> some non-deterministic time in the future might be a side effect
> of calling malloc().
It's just using a different definition of "successful return of malloc()"
to the one you're trying to use :-)
- mark
----
Mark Newton Email: [EMAIL PROTECTED] (W)
Network Engineer Email: [EMAIL PROTECTED] (H)
Internode Systems Pty Ltd Desk: +61-8-82232999
"Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message