1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 22:52:07 +00:00

Kernel+LibC: Implement fsync

This commit is contained in:
TheFightingCatfish 2021-09-11 23:28:59 -04:00 committed by Andreas Kling
parent fd3735199b
commit a81b21c1a7
13 changed files with 51 additions and 6 deletions

View file

@ -122,6 +122,7 @@ public:
void set_original_custody(Badge<VirtualFileSystem>, Custody& custody);
KResult truncate(u64);
KResult sync();
off_t offset() const { return m_current_offset; }