mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
Kernel+LibC: Implement fsync
This commit is contained in:
parent
fd3735199b
commit
a81b21c1a7
Notes:
sideshowbarker
2024-07-18 04:12:18 +09:00
Author: https://github.com/SeekingBlues
Commit: a81b21c1a7
Pull-request: https://github.com/SerenityOS/serenity/pull/9983
13 changed files with 51 additions and 6 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue