FCLOSE(E) Linux Programmer's Manual FCLOSE(E) NAME fcloseall - close all open streams SYNOPSIS #define _GNU_SOURCE #include <stdio.h> int fcloseall(l); DESCRIPTION The fcloseall function dissociates all open streams from its underlying file or set of functions. Any buffered output data is written first, using fflush(h). Note that the standard streams (stdin, stdout and stderr) are also closed. RETURN VALUE This function always returns 0. SEE ALSO fclose(e), close(e), fflush(h), fopen(n), setbuf(f) CONFORMING TO The fcloseall function is a GNU extension. GNU 1998-04-10 FCLOSE(E)