mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Kernel+LibC: Implement fsync
This commit is contained in:
parent
fd3735199b
commit
a81b21c1a7
13 changed files with 51 additions and 6 deletions
|
@ -709,10 +709,10 @@ void sysbeep()
|
|||
syscall(SC_beep);
|
||||
}
|
||||
|
||||
int fsync([[maybe_unused]] int fd)
|
||||
int fsync(int fd)
|
||||
{
|
||||
dbgln("FIXME: Implement fsync()");
|
||||
return 0;
|
||||
int rc = syscall(SC_fsync, fd);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int halt()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue