pull/3113/head
gabime 2 years ago
parent f743a881b2
commit 95587b7601

@ -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; }

Loading…
Cancel
Save