ap_note_cleanups_for_fd — register a cleanup for a file descriptor
void ap_note_cleanups_for_fd(pool *p, int fd)
Registers a cleanup function that will close the file descriptor when the pool is destroyed. Normally one of the file-opening functions does this for you, but it is occasionally necessary to do it “by hand.” Note that sockets have their own cleanup functions.