httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: APR cleanup status?
Date Mon, 13 Sep 1999 13:35:16 GMT
Ryan Bloom wrote:
> > If they return a value, then there needs to be some docco that says what
> > the values are, and what effect they have.
> The values are ap_status_t's.  ie either an errno value, or APR_SUCCESS.
> The same as all the ap_status_t's used throughout the code.

But what does an error mean during a cleanup?

> > I don't know what you mean by "closing the data types".
> For example, if I want to close an apr file entity, I call the same
> function that is used for registering the cleanup.  Because it is inside
> that function that the close call happens I need the status of the close.

Is that wise? I suppose it makes sense, but which one do you call? And,
I presume you mean "I call the function that is registered as the
cleanup" when you say "I call the same function that is used for
registering the cleanup"?




"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

View raw message