Subject: Re: error checking wrapper function proposal
To: Christos Zoulas <>
From: Gavan Fantom <>
List: tech-userlevel
Date: 06/17/2006 11:22:53
Christos Zoulas wrote:
> I've been thinking of adding a small layer of error/detect exit routines
> for commonly used routines. My reasoning for this is:
> 1. many programs do this on their own, and this would centralize it
> 2. some programs do not bother checking at all
> 3. some programs open code this and it quickly gets tedious, and makes
>    reading the code more difficult
> 4. a handful of programs do the checks incorrectly

I like it. Could it perhaps be generalised to arbitrary library calls?

Gillette - the best a man can forget