Update os.h

This commit is contained in:
Gabi Melman 2023-01-15 15:57:08 +02:00 committed by GitHub
parent f29f369a12
commit 435827fe5a
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 descriptor
// Do fsync by FILE object
// Return true on success
SPDLOG_API bool fsync(FILE * fd);
SPDLOG_API bool fsync(FILE * f);
} // namespace os
} // namespace details