httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [APR] Universal return syntax
Date Mon, 01 Feb 1999 17:21:59 GMT


On Tue, 26 Jan 1999, Ben Hyde wrote:

> The alternate coding style that looks like:
>      error_code = f(&result, ...);
> reduces the chance of this error, yes.  It is a coding
> convention for safety, just like the one above.  It's
> problem is it's neither traditional nor fast.

result = f(&error_code, ...)

where there's the ability to indicate a yes/no "error occured" in result
is faster... but, alas, still requires a stack frame. 

Dean


Mime
View raw message