Name
ap_pfopen — open a stream with automatic cleanup
Synopsis
FILE *ap_pfopen(pool *p, const char *name, const char *mode)
Equivalent to fopen()
, except that it ensures
that the stream is closed when the pool is destroyed. Returns a
pointer to the new stream or NULL
on error.