1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-04-29 03:53:54 +00:00
This commit is contained in:
gabime 2024-01-14 13:19:14 +02:00
parent f743a881b2
commit 95587b7601

View File

@ -322,7 +322,7 @@ std::string getenv(const char *field) {
return buf != nullptr ? buf : std::string{};
}
// Do fsync by FILE handlerpointer
// Do fsync by FILE pointer
// Return true on success
bool fsync(FILE *fp) { return ::fsync(fileno(fp)) == 0; }