mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Update os.h
This commit is contained in:
@@ -109,9 +109,9 @@ SPDLOG_API bool create_dir(const filename_t &path);
|
|||||||
// return empty string if field not found
|
// return empty string if field not found
|
||||||
SPDLOG_API std::string getenv(const char *field);
|
SPDLOG_API std::string getenv(const char *field);
|
||||||
|
|
||||||
// Do fsync by FILE descriptor
|
// Do fsync by FILE object
|
||||||
// Return true on success
|
// Return true on success
|
||||||
SPDLOG_API bool fsync(FILE * fd);
|
SPDLOG_API bool fsync(FILE * f);
|
||||||
|
|
||||||
} // namespace os
|
} // namespace os
|
||||||
} // namespace details
|
} // namespace details
|
||||||
|
Reference in New Issue
Block a user