mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-21 03:12:41 +08:00
Update os.h
This commit is contained in:
parent
78e86ba01f
commit
654dbc5c32
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user