FWIW, newlib implements fclean (as a simple wrapper around fflush). As for history, Roland will know...