httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: Error values in APR.
Date Thu, 20 May 1999 21:03:49 GMT
I think this covers apr_status_t with values named APR_foo, yes?
For Unix (or platforms which define E* names), I see


and on Windows or other don't-have-E*-names-defined platforms,

#define APR_EPERM  1
#define APR_ENOENT 2

or perhaps an enum.  The names will be familiar to Unix coders,
and won't break if they use 'EPERM' instead of 'APR_EPERM' (though
I'm not sure we should encourage or even mention that), and it's
a transparent abstraction of the error conditions.

Just off the top of my head..
#ken    P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Software Foundation  <>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

View raw message