Re: Completion of error handling
- From
- Markus Elfring <markus.elfring@web.de>
- Date
- Feb 2, 2010, 19:42 UTC
- Message-ID
- <4B688042.8090400@web.de>
- In-Reply-To
- <alpine.LFD.2.00.1002021424550.1681@xanadu.home>
> At least on Linux, most of those functions simply cannot fail.
Would you like to support software environments that work without a famous out-of-memory killer?
> There is just no dynamic memory allocation involved. >
I find this opinion strange.
> All other errors are normally due to bad code. >
I suggest to avoid unchecked function calls. Would you like to detect every error situation as early as possible?
Regards, Markus