Fix fcloseall not defined on some platform

This commit is contained in:
2022-05-31 00:32:31 +00:00
committed by GitHub
parent 3a02cfa641
commit 976582828b
4 changed files with 12 additions and 1 deletions

View File

@@ -171,6 +171,7 @@ namespace fileop {
std::string filename(std::string path);
/**
* @brief Close all open streams
* If no function is called, will return 0.
* @return 0(>=0) succeed. EOF error happened.
*/
int fcloseall();