Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 2842 invoked by uid 6000); 1 Feb 1999 17:22:13 -0000 Received: (qmail 2828 invoked from network); 1 Feb 1999 17:22:11 -0000 Received: from twinlark.arctic.org (204.107.140.52) by taz.hyperreal.org with SMTP; 1 Feb 1999 17:22:11 -0000 Received: (qmail 444 invoked by uid 500); 1 Feb 1999 17:21:59 -0000 Date: Mon, 1 Feb 1999 09:21:59 -0800 (PST) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: [APR] Universal return syntax In-Reply-To: <13997.61745.139523.284036@zap.ml.org> Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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