Name

ap_note_cleanups_for_file — register a cleanup for a FILE

Synopsis

void ap_note_cleanups_for_file(pool *p, FILE *f)

Registers a cleanup function to close the stream when the pool is destroyed. Strangely, there isn’t an ap_kill_cleanups_for_file().