[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [llnl-devel] Re: [Freeipmi-devel] xmalloc

From: Anand Babu
Subject: Re: [llnl-devel] Re: [Freeipmi-devel] xmalloc
Date: Tue, 30 Dec 2003 12:17:48 -0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

,----[ Ian Zimmerman <address@hidden> ]
| Anand Babu <address@hidden> writes:
|  Purpose of xmalloc is to check the return value of malloc. C does not
|  have any exception handling facility. Code for error handling can grow
|        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|  more than the actual code if all return values are checked.
| Not a built-in one, that is.  There are quite a few macro packages that do
| exceptions on top of (set|long)jmp.
Give me more info, let us evaluate.

Anand Babu
Free as in Freedom <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]