* modules/close-stream: New file. * modules/closeout (Description): Make it clear that it exits with a diagnostic on error. (Depends-on): Add close-stream. Remove fpending, stdbool. * MODULES.html.sh (File stream based Input/Output): Add close-stream. * lib/close-stream.c, lib/close-stream.h: New files. * m4/close-stream.m4: New file.