Update os.h

This commit is contained in:
Gabi Melman 2023-01-15 16:00:26 +02:00 committed by GitHub
parent 78e86ba01f
commit 654dbc5c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,9 @@ SPDLOG_API bool create_dir(const filename_t &path);
// return empty string if field not found
SPDLOG_API std::string getenv(const char *field);
// Do fsync by FILE object
// Return true on success
SPDLOG_API bool fsync(FILE * f);
// Do fsync by FILE objectpointer.
// Return true on success.
SPDLOG_API bool fsync(FILE * fp);
} // namespace os
} // namespace details